summaryrefslogtreecommitdiffstats
path: root/hw/i386/pc_q35.c
diff options
context:
space:
mode:
authorPaolo Bonzini2019-12-12 17:28:01 +0100
committerPaolo Bonzini2019-12-17 19:33:50 +0100
commited9e923c3c9a2c50c4e82ba178b3fb1feba56867 (patch)
treec540f1bd96362502dfd29af0ac15ca20473f622c /hw/i386/pc_q35.c
parentpci-stub: add more MSI functions (diff)
downloadqemu-ed9e923c3c9a2c50c4e82ba178b3fb1feba56867.tar.gz
qemu-ed9e923c3c9a2c50c4e82ba178b3fb1feba56867.tar.xz
qemu-ed9e923c3c9a2c50c4e82ba178b3fb1feba56867.zip
x86: move SMM property to X86MachineState
Add it to microvm as well, it is a generic property of the x86 architecture. Suggested-by: Sergio Lopez <slp@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386/pc_q35.c')
-rw-r--r--hw/i386/pc_q35.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index 7398d7baa2..52f45735e4 100644
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35.c
@@ -276,7 +276,7 @@ static void pc_q35_init(MachineState *machine)
0xff0104);
/* connect pm stuff to lpc */
- ich9_lpc_pm_init(lpc, pc_machine_is_smm_enabled(pcms));
+ ich9_lpc_pm_init(lpc, x86_machine_is_smm_enabled(x86ms));
if (pcms->sata_enabled) {
/* ahci and SATA device, for q35 1 ahci controller is built-in */