diff options
author | Andrew Jones <drjones@redhat.com> | 2017-01-09 11:40:22 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-01-09 11:40:22 +0000 |
commit | e9a8e474fbdedca787623f0c55f7b6e9cb97bdfc (patch) | |
tree | 398b8846b70d6c10a742440235f6ce0f57fc9d3e /include | |
parent | a72d4363875ed086acedab657d34f6fc82a7d8aa (diff) | |
download | qemu-e9a8e474fbdedca787623f0c55f7b6e9cb97bdfc.zip qemu-e9a8e474fbdedca787623f0c55f7b6e9cb97bdfc.tar.gz qemu-e9a8e474fbdedca787623f0c55f7b6e9cb97bdfc.tar.bz2 |
hw/arm/virt: pass VirtMachineState instead of VirtGuestInfo
Only two functions take VirtGuestInfo parameters. Now that guest-info
is part of VirtMachineState, and VirtMachineState is defined in the
virt header, pass that instead.
Signed-off-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20170102200153.28864-11-drjones@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/arm/virt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/arm/virt.h b/include/hw/arm/virt.h index 91dbd69..b1eed52 100644 --- a/include/hw/arm/virt.h +++ b/include/hw/arm/virt.h @@ -122,6 +122,6 @@ typedef struct { #define VIRT_MACHINE_CLASS(klass) \ OBJECT_CLASS_CHECK(VirtMachineClass, klass, TYPE_VIRT_MACHINE) -void virt_acpi_setup(VirtGuestInfo *guest_info); +void virt_acpi_setup(VirtMachineState *vms); #endif /* QEMU_ARM_VIRT_H */ |