hw/arm/virt: eliminate struct VirtGuestInfoState
commit054f4dc961490b81139304106e4312c356303a6f
authorAndrew Jones <drjones@redhat.com>
Mon, 9 Jan 2017 11:40:22 +0000 (9 11:40 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 9 Jan 2017 11:40:22 +0000 (9 11:40 +0000)
tree8435fb4015aeb87b14149fe5322400d61669ab35
parent055a7f2b0aefdd6b75bf2866171c4fe11f9a9e00
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>
hw/arm/virt.c
include/hw/arm/virt-acpi-build.h