x86/vmx: introduce VMX_INSN_SUCCEED
authorSergey Dyasli <sergey.dyasli@citrix.com>
Mon, 13 Feb 2017 14:21:08 +0000 (14:21 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 14 Feb 2017 10:25:05 +0000 (10:25 +0000)
commit195ca0e1de85163cb6a5d547d424f3f7c70f40d3
tree7f5fdd1e27ed6dd4fa05015d5d93b0d898ff2e38
parent28722e98f7ff1ef0da1bef885f98e232f89a8ca7
x86/vmx: introduce VMX_INSN_SUCCEED

The new value corresponds to VMsucceed status of VMX instructions.
This will replace usage of literal zeroes in related functions.

Update vmfail(), vmread_safe() and vmwrite_safe().

Signed-off-by: Sergey Dyasli <sergey.dyasli@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vvmx.c
xen/include/asm-x86/hvm/vmx/vmcs.h
xen/include/asm-x86/hvm/vmx/vmx.h