projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9586cba
)
x86/vmx: Don't deliver #MC with an error code
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Thu, 24 Nov 2016 15:36:13 +0000
(15:36 +0000)
committer
Andrew Cooper
<andrew.cooper3@citrix.com>
Fri, 25 Nov 2016 10:48:20 +0000
(10:48 +0000)
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/hvm/vmx/vmx.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/vmx/vmx.c
b/xen/arch/x86/hvm/vmx/vmx.c
index 0a52624994725bd6ded3465eede236cc540567c1..7b2c50cf447b02f15bb1c5a9d23bee7475c9caea 100644
(file)
--- a/
xen/arch/x86/hvm/vmx/vmx.c
+++ b/
xen/arch/x86/hvm/vmx/vmx.c
@@
-2915,7
+2915,7
@@
static int vmx_msr_write_intercept(unsigned int msr, uint64_t msr_content)
if ( (rc < 0) ||
(msr_content && (vmx_add_host_load_msr(msr) < 0)) )
- hvm_inject_hw_exception(TRAP_machine_check,
0
);
+ hvm_inject_hw_exception(TRAP_machine_check,
HVM_DELIVER_NO_ERROR_CODE
);
else
__vmwrite(GUEST_IA32_DEBUGCTL, msr_content);