diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-09-15 14:09:02 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-09-17 14:16:19 +0200 |
commit | 50aef1318166c2a5551d43fb99c5a517f54fcf3c (patch) | |
tree | 6973a710f7858d63cc3bf2ce4d6863191a16dbf9 /hw/i386/pc_piix.c | |
parent | 9927a6329a4ce832b4b529903b0a1e1f580cbf0f (diff) | |
download | qemu-50aef1318166c2a5551d43fb99c5a517f54fcf3c.zip qemu-50aef1318166c2a5551d43fb99c5a517f54fcf3c.tar.gz qemu-50aef1318166c2a5551d43fb99c5a517f54fcf3c.tar.bz2 |
x86: move acpi_dev from pc/microvm
Both pc and microvm machine types have a acpi_dev field.
Move it to the common base type.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20200915120909.20838-15-kraxel@redhat.com
Diffstat (limited to 'hw/i386/pc_piix.c')
-rw-r--r-- | hw/i386/pc_piix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 33fa035..6f3e78b 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -293,7 +293,7 @@ static void pc_init1(MachineState *machine, object_property_add_link(OBJECT(machine), PC_MACHINE_ACPI_DEVICE_PROP, TYPE_HOTPLUG_HANDLER, - (Object **)&pcms->acpi_dev, + (Object **)&x86ms->acpi_dev, object_property_allow_set_link, OBJ_PROP_LINK_STRONG); object_property_set_link(OBJECT(machine), PC_MACHINE_ACPI_DEVICE_PROP, |