kvm: Apply SMM-already-initialized workaround on reset (Jan Kiszka)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7136 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
29203dcf31
commit
3c892168a0
|
@ -490,6 +490,11 @@ static void piix4_reset(void *opaque)
|
|||
pci_conf[0x59] = 0;
|
||||
pci_conf[0x5a] = 0;
|
||||
pci_conf[0x5b] = 0;
|
||||
|
||||
if (kvm_enabled()) {
|
||||
/* Mark SMM as already inited (until KVM supports SMM). */
|
||||
pci_conf[0x5B] = 0x02;
|
||||
}
|
||||
}
|
||||
|
||||
i2c_bus *piix4_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base,
|
||||
|
|
Loading…
Reference in a new issue