mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
pc_piix: rename kvm_enabled to smm_enabled
We will enable SMM even if KVM is in use. Rename the field and arguments. Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
6410848bec
commit
61e66c6237
3 changed files with 7 additions and 7 deletions
|
@ -287,7 +287,7 @@ static void pc_init1(MachineState *machine)
|
|||
/* TODO: Populate SPD eeprom data. */
|
||||
smbus = piix4_pm_init(pci_bus, piix3_devfn + 3, 0xb100,
|
||||
gsi[9], smi_irq,
|
||||
kvm_enabled(), &piix4_pm);
|
||||
!kvm_enabled(), &piix4_pm);
|
||||
smbus_eeprom_init(smbus, 8, NULL, 0);
|
||||
|
||||
object_property_add_link(OBJECT(machine), PC_MACHINE_ACPI_DEVICE_PROP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue