> -----Original Message----- > From: kvm-owner@xxxxxxxxxxxxxxx [mailto:kvm-owner@xxxxxxxxxxxxxxx] On > Behalf Of David Hildenbrand > Sent: Monday, June 11, 2018 8:36 PM > To: Gonglei (Arei) <arei.gonglei@xxxxxxxxxx>; 浙大邮箱 <linzc@xxxxxxxxxx> > Subject: Re: An emulation failure occurs,if I hotplug vcpus immediately after the > VM start > > On 11.06.2018 14:25, Gonglei (Arei) wrote: > > > > Hi David and Paolo, > > > >> -----Original Message----- > >> From: David Hildenbrand [mailto:david@xxxxxxxxxx] > >> Sent: Monday, June 11, 2018 6:44 PM > >> To: 浙大邮箱 <linzc@xxxxxxxxxx> > >> Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx>; Gonglei (Arei) > >> <arei.gonglei@xxxxxxxxxx>; Igor Mammedov <imammedo@xxxxxxxxxx>; > >> xuyandong <xuyandong2@xxxxxxxxxx>; Zhanghailiang > >> <zhang.zhanghailiang@xxxxxxxxxx>; wangxin (U) > >> <wangxinxin.wang@xxxxxxxxxx>; lidonglin <lidonglin@xxxxxxxxxx>; > >> kvm@xxxxxxxxxxxxxxx; qemu-devel@xxxxxxxxxx; Huangweidong (C) > >> <weidong.huang@xxxxxxxxxx> > >> Subject: Re: An emulation failure occurs,if I hotplug vcpus immediately after > the > >> VM start > >> > >> On 07.06.2018 18:03, 浙大邮箱 wrote: > >>> Hi,all > >>> I still have a question after reading your discussion: Will seabios detect the > >> change of address space even if we add_region and del_region > automatically? I > >> guess that seabios may not take this change into consideration. > >> > >> Hi, > >> > >> We would just change the way how KVM memory slots are updated. This is > >> right now not atomic, but would be later on. It should not have any > >> other effect. > >> > > Yes. Do you have any plans to do that? > > Well, I have plans to work on atomically resizable memory regions > (atomic del + add), and what Paolo described could also work for that > use case. However, I won't have time to look into that in the near > future. So if somebody else wants to jump it, perfect. If not, it will > have to wait unfortunately. > Got it. :) Thanks, -Gonglei