]> xenbits.xensource.com Git - seabios.git/commit
fw/msr_feature_control: add support to set MSR_IA32_FEATURE_CONTROL
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:01:15 +0000 (14:01 +0200)
commit20f83d5c7c0f9ae5f775b6701c205349abe003fb
tree265cccf28568d7730697d75c8cd9a250bc40ab65
parent0e21548b15e25e010c362ea13d170c61a3fcc899
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>
src/fw/paravirt.c
src/fw/smp.c