On 11.06.2018 14:25, Gonglei (Arei) wrote: > > Hi David and Paolo, > >> -----Original Message----- >> From: David Hildenbrand [mailto:da...@redhat.com] >> Sent: Monday, June 11, 2018 6:44 PM >> To: 浙大邮箱 <li...@zju.edu.cn> >> Cc: Paolo Bonzini <pbonz...@redhat.com>; Gonglei (Arei) >> <arei.gong...@huawei.com>; Igor Mammedov <imamm...@redhat.com>; >> xuyandong <xuyando...@huawei.com>; Zhanghailiang >> <zhang.zhanghaili...@huawei.com>; wangxin (U) >> <wangxinxin.w...@huawei.com>; lidonglin <lidong...@huawei.com>; >> k...@vger.kernel.org; qemu-devel@nongnu.org; Huangweidong (C) >> <weidong.hu...@huawei.com> >> 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. > > Thanks, > -Gonglei > -- Thanks, David / dhildenb