]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commit
fw/msr_feature_control: add support to set MSR_IA32_FEATURE_CONTROL rel-1.9.3
authorHaozhong Zhang <haozhong.zhang@intel.com>
Wed, 22 Jun 2016 06:53:24 +0000 (14:53 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 1 Jul 2016 12:02:12 +0000 (14:02 +0200)
commite2fc41e24ee0ada60fc511d60b15a41b294538be
tree73eb68fa3ef7a8e975e94196e0f8b90ead1df729
parent8dada77beed057e93e36a1c67eb8b3dfe86398c9
fw/msr_feature_control: add support to set MSR_IA32_FEATURE_CONTROL

OS usually expects BIOS to set certain bits in MSR_IA32_FEATURE_CONTROL
for some features (e.g. VMX and LMCE). QEMU provides a fw_cfg file
"etc/msr_feature_control" to advise bits that should be set in
MSR_IA32_FEATURE_CONTROL. If this file exists, SeaBIOS will set the
advised bits in that MSR.

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20160622065324.23812-1-haozhong.zhang@intel.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 20f83d5c7c0f9ae5f775b6701c205349abe003fb)
src/fw/paravirt.c
src/fw/smp.c