]> xenbits.xensource.com Git - people/pauldu/xen.git/commit
x86: Consolidate the storage of MSR_AMD64_DR{0-3}_ADDRESS_MASK
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 19 Oct 2018 15:14:22 +0000 (16:14 +0100)
committerWei Liu <wei.liu2@citrix.com>
Thu, 1 Nov 2018 10:15:10 +0000 (10:15 +0000)
commit96f235c26f8ee346f2ca7c2576ec6e314a49d833
tree8d183be78edd97ad9abf47a73e855dbff7f66fe1
parentd5d30b394975f460a99a6313645a737acf16d4c7
x86: Consolidate the storage of MSR_AMD64_DR{0-3}_ADDRESS_MASK

The PV and HVM code both have a copy of these, which gives the false
impression in the context switch code that they are PV/HVM specific.

Move the storage into struct vcpu_msrs, and update all users to match.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/domctl.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/pv/emul-priv-op.c
xen/arch/x86/traps.c
xen/include/asm-x86/domain.h
xen/include/asm-x86/hvm/svm/vmcb.h
xen/include/asm-x86/msr.h