> From: Sergey Dyasli [mailto:[email protected]]
> Sent: Tuesday, November 6, 2018 8:08 PM
> 
> Currently Xen tries to map bitmaps during emulation of vmptrld and
> vmwrite. This is wrong: a guest can store arbitrary values in those
> fields.
> 
> Make bitmaps mapping happen only during a nested vmentry and only if
> the appropriate execution controls are turned on by L1 hypervisor.
> 
> For performance reasons, Xen maps bitmaps only:
> 
>     1. During the first nested vmentry
>     2. After L1 has changed an appropriate vmcs field
>     3. After nvmx_purge_vvmcs() was previously called
> 
> Signed-off-by: Sergey Dyasli <[email protected]>

Acked-by: Kevin Tian <[email protected]>

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to