diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-12-11 16:42:33 -0200 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:31:49 -0600 |
commit | 8d3f8f9947ec93f86198c846ef8cf600167a824d (patch) | |
tree | a091ca85f36445212cd39f551cc1001b64a20fd1 /hw/i386 | |
parent | 28e627a062904dde5dcf77d6681b772ed3be38db (diff) | |
download | hqemu-8d3f8f9947ec93f86198c846ef8cf600167a824d.zip hqemu-8d3f8f9947ec93f86198c846ef8cf600167a824d.tar.gz |
pc: Eliminate PcGuestInfo struct
The struct is not used for anything, now.
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>
Diffstat (limited to 'hw/i386')
-rw-r--r-- | hw/i386/pc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index a6b2834..af2fe84 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -1183,9 +1183,8 @@ void pc_machine_done(Notifier *notifier, void *data) acpi_setup(); } -PcGuestInfo *pc_guest_info_init(PCMachineState *pcms) +void pc_guest_info_init(PCMachineState *pcms) { - PcGuestInfo *guest_info = &pcms->acpi_guest_info; int i, j; pcms->apic_id_limit = pc_apic_id_limit(max_cpus); @@ -1213,7 +1212,6 @@ PcGuestInfo *pc_guest_info_init(PCMachineState *pcms) pcms->machine_done.notify = pc_machine_done; qemu_add_machine_init_done_notifier(&pcms->machine_done); - return guest_info; } /* setup pci memory address space mapping into system address space */ |