Re: [Xen-devel] [PATCH v1] vvmx: fix ept_sync() for nested p2m

2017-06-30 Thread Tian, Kevin
> From: Sergey Dyasli [mailto:sergey.dya...@citrix.com] > Sent: Wednesday, June 28, 2017 5:36 PM > > If ept_sync_domain() is called for np2m, the following happens: > > 1. *np2m*::ept_data::invalidate cpumask is updated > 2. IPIs are sent for CPUs in domain_dirty_cpumask forcing vmexits >

Re: [Xen-devel] [PATCH v1] vvmx: fix ept_sync() for nested p2m

2017-06-28 Thread Andrew Cooper
On 28/06/17 10:35, Sergey Dyasli wrote: > If ept_sync_domain() is called for np2m, the following happens: > > 1. *np2m*::ept_data::invalidate cpumask is updated > 2. IPIs are sent for CPUs in domain_dirty_cpumask forcing vmexits > 3. vmx_vmenter_helper() checks *hostp2m*::ept_data::inva

[Xen-devel] [PATCH v1] vvmx: fix ept_sync() for nested p2m

2017-06-28 Thread Sergey Dyasli
If ept_sync_domain() is called for np2m, the following happens: 1. *np2m*::ept_data::invalidate cpumask is updated 2. IPIs are sent for CPUs in domain_dirty_cpumask forcing vmexits 3. vmx_vmenter_helper() checks *hostp2m*::ept_data::invalidate and does nothing Which is clearly