diff options
| author | Andrew Jones | 2017-01-09 12:40:22 +0100 |
|---|---|---|
| committer | Peter Maydell | 2017-01-09 12:40:22 +0100 |
| commit | 054f4dc961490b81139304106e4312c356303a6f (patch) | |
| tree | 8435fb4015aeb87b14149fe5322400d61669ab35 /include/hw | |
| parent | hw/arm/virt: use VirtMachineState.gic_version (diff) | |
| download | qemu-054f4dc961490b81139304106e4312c356303a6f.tar.gz qemu-054f4dc961490b81139304106e4312c356303a6f.tar.xz qemu-054f4dc961490b81139304106e4312c356303a6f.zip | |
hw/arm/virt: eliminate struct VirtGuestInfoState
Instead of allocating a new struct just for VirtGuestInfo and the
machine_done Notifier, place them inside VirtMachineState. This
is the mach-virt equivalent of "pc: Eliminate struct
PcGuestInfoState"
Suggested-by: Eduardo Habkost <ehabkost@redhat.com>
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-8-drjones@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/arm/virt-acpi-build.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/hw/arm/virt-acpi-build.h b/include/hw/arm/virt-acpi-build.h index 2bcd22265c..925c434738 100644 --- a/include/hw/arm/virt-acpi-build.h +++ b/include/hw/arm/virt-acpi-build.h @@ -34,12 +34,6 @@ typedef struct VirtGuestInfo { bool no_its; } VirtGuestInfo; - -typedef struct VirtGuestInfoState { - VirtGuestInfo info; - Notifier machine_done; -} VirtGuestInfoState; - void virt_acpi_setup(VirtGuestInfo *guest_info); #endif |
