Revision 7ba1e619 hw/acpi.c
b/hw/acpi.c | ||
---|---|---|
23 | 23 |
#include "sysemu.h" |
24 | 24 |
#include "i2c.h" |
25 | 25 |
#include "smbus.h" |
26 |
#include "kvm.h" |
|
26 | 27 |
|
27 | 28 |
//#define DEBUG |
28 | 29 |
|
... | ... | |
501 | 502 |
|
502 | 503 |
register_ioport_write(ACPI_DBG_IO_ADDR, 4, 4, acpi_dbg_writel, s); |
503 | 504 |
|
505 |
if (kvm_enabled()) { |
|
506 |
/* Mark SMM as already inited to prevent SMM from running. KVM does not |
|
507 |
* support SMM mode. */ |
|
508 |
pci_conf[0x5B] = 0x02; |
|
509 |
} |
|
510 |
|
|
504 | 511 |
/* XXX: which specification is used ? The i82731AB has different |
505 | 512 |
mappings */ |
506 | 513 |
pci_conf[0x5f] = (parallel_hds[0] != NULL ? 0x80 : 0) | 0x10; |
Also available in: Unified diff