]> xenbits.xensource.com Git - xen.git/commit
VMX: fix DebugCtl MSR clearing
authorJan Beulich <jbeulich@suse.com>
Fri, 22 Aug 2014 12:29:37 +0000 (14:29 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 22 Aug 2014 12:29:37 +0000 (14:29 +0200)
commitdfa625e15f3d6c374637f2bb789e1f444c2781c3
tree2ffd2b6512fa48176ff01374d79244a242c53252
parent02926b1729849c421d990009343a5456897e214a
VMX: fix DebugCtl MSR clearing

The previous shortcut was wrong, as it bypassed the necessary vmwrite:
All we really want to avoid if the guest writes zero is to add the MSR
to the host-load list.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vmx.c