[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



> From: Sergey Dyasli [mailto:sergey.dyasli@xxxxxxxxxx]
> 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
>     3. vmx_vmenter_helper() checks *hostp2m*::ept_data::invalidate
>        and does nothing
> 
> Which is clearly a bug. Make ept_sync_domain() to update hostp2m's
> invalidate mask in nested p2m case and make vmx_vmenter_helper() to
> invalidate EPT translations for all EPTPs if nested virt is enabled.
> 
> Signed-off-by: Sergey Dyasli <sergey.dyasli@xxxxxxxxxx>

Acked-by: Kevin Tian <kevin.tian@xxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.