pc: Eliminate struct PcGuestInfoState

Instead of allocating a new struct just for PcGuestInfo and the
mchine_done Notifier, place them inside PCMachineState.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
This commit is contained in:
Eduardo Habkost 2015-12-11 16:42:23 -02:00 committed by Michael S. Tsirkin
parent 281b104702
commit 9ebeed0c1e
2 changed files with 12 additions and 17 deletions

View file

@ -61,6 +61,8 @@ struct PCMachineState {
/* State for other subsystems/APIs: */
MemoryHotplugState hotplug_memory;
PcGuestInfo acpi_guest_info;
Notifier machine_done;
/* Pointers to devices and objects: */
HotplugHandler *acpi_dev;