[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0/4] x86/vvmx: correctly emulate VMREAD and VMWRITE
Currently, emulation of vmread and vmwrite for a guest leads to BUG() in cases when actual VMREAD or VMWRITE ends up in VMfail due to invalid arguments. The goal of this patch series is to prevent the BUG() from happening and report any kind of VMfail back to the guest, just like it would be done by H/W. Sergey Dyasli (4): x86/vmx: introduce __vmwrite_safe() x86/vmx: improve __vmread_safe() x86/vvmx: correctly emulate VMWRITE x86/vvmx: correctly emulate VMREAD tools/tests/x86_emulator/x86_emulate.h | 6 +++ xen/arch/x86/hvm/vmx/vmcs.c | 20 ++++++---- xen/arch/x86/hvm/vmx/vvmx.c | 46 +++++++++++++++++----- xen/arch/x86/x86_emulate/x86_emulate.c | 6 --- xen/include/asm-x86/hvm/vmx/vmcs.h | 6 ++- xen/include/asm-x86/hvm/vmx/vmx.h | 72 ++++++++++++++++++++++------------ xen/include/asm-x86/hvm/vmx/vvmx.h | 11 +++++- xen/include/xen/lib.h | 6 +++ 8 files changed, 123 insertions(+), 50 deletions(-) -- 2.7.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |