x86/hvm: Permit guests direct access to MSR_{SPEC_CTRL,PRED_CMD}
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 14 Nov 2017 19:22:28 +0000 (19:22 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 26 Jan 2018 14:10:21 +0000 (14:10 +0000)
commit5a2fe171144ebcc908ea1fca45058d6010f6a286
treec1faa3ef92dc2801decd6bdee370f2f1e7e028aa
parent0cf2a4eb769302b7d7d7835540e7b2f15006df30
x86/hvm: Permit guests direct access to MSR_{SPEC_CTRL,PRED_CMD}

For performance reasons, HVM guests should have direct access to these MSRs
when possible.

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