Re: [PATCH v4 10/14] migration: add support to migrate shared regions list

2021-09-10 Thread Ashish Kalra
On Fri, Sep 10, 2021 at 09:11:09AM +, Wang, Wei W wrote: > On Friday, September 10, 2021 4:48 PM, Ashish Kalra wrote: > > On Fri, Sep 10, 2021 at 07:54:10AM +, Wang, Wei W wrote: > > There has been a long discussion on this implementation on KVM mailing list. > > Tracking shared memory via

RE: [PATCH v4 10/14] migration: add support to migrate shared regions list

2021-09-10 Thread Wang, Wei W
On Friday, September 10, 2021 4:48 PM, Ashish Kalra wrote: > On Fri, Sep 10, 2021 at 07:54:10AM +, Wang, Wei W wrote: > There has been a long discussion on this implementation on KVM mailing list. > Tracking shared memory via a list of ranges instead of using bitmap is more > optimal. Most of t

Re: [PATCH v4 10/14] migration: add support to migrate shared regions list

2021-09-10 Thread Ashish Kalra
Hello Wang, On Fri, Sep 10, 2021 at 07:54:10AM +, Wang, Wei W wrote: > > From: Brijesh Singh > > > > When memory encryption is enabled, the hypervisor maintains a shared > > regions list which is referred by hypervisor during migration to check if > > page is > > private or shared. This li

RE: [PATCH v4 10/14] migration: add support to migrate shared regions list

2021-09-10 Thread Wang, Wei W
> From: Brijesh Singh > > When memory encryption is enabled, the hypervisor maintains a shared > regions list which is referred by hypervisor during migration to check if > page is > private or shared. This list is built during the VM bootup and must be > migrated > to the target host so that h

[PATCH v4 10/14] migration: add support to migrate shared regions list

2021-08-04 Thread Ashish Kalra
From: Brijesh Singh When memory encryption is enabled, the hypervisor maintains a shared regions list which is referred by hypervisor during migration to check if page is private or shared. This list is built during the VM bootup and must be migrated to the target host so that hypervisor on targe