Fix SRAO/SRAR MCE injecting on guest without MCG_SER_P
commit85566812a4f8cae721fea0224e05a7e75c08c5dd
authorHuang Ying <ying.huang@intel.com>
Fri, 8 Oct 2010 08:25:14 +0000 (8 16:25 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 8 Oct 2010 21:04:27 +0000 (8 18:04 -0300)
treee5a217e1681648491085463a98cc3fa6992d66f6
parent576af1b5f5524ca0d6587ae43e395313c14059bb
Fix SRAO/SRAR MCE injecting on guest without MCG_SER_P

On real machine, if MCG_SER_P in MSR_MCG_CAP is not set, SRAO/SRAR MCE
should not be raised by hardware. This patch makes QEMU-KVM to follow
the same rule.

Reported-and-Reviewed-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
qemu-kvm.c