Re: [Xen-devel] [PATCH v2 4/4] x86/vvmx: correctly emulate VMREAD

2017-02-07 Thread Sergey Dyasli
On Tue, 2017-02-07 at 06:52 +, Tian, Kevin wrote: > > From: Sergey Dyasli [mailto:sergey.dya...@citrix.com] > > Sent: Monday, February 06, 2017 10:58 PM > > > > There is an issue with the original __vmread() in nested vmx mode: > > emulation of a guest's VMREAD with invalid arguments leads to

Re: [Xen-devel] [PATCH v2 4/4] x86/vvmx: correctly emulate VMREAD

2017-02-06 Thread Tian, Kevin
> From: Sergey Dyasli [mailto:sergey.dya...@citrix.com] > Sent: Monday, February 06, 2017 10:58 PM > > There is an issue with the original __vmread() in nested vmx mode: > emulation of a guest's VMREAD with invalid arguments leads to BUG(). > > Fix this by using vmread_safe() and reporting any ki