mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
acpi: Don't save PcGuestInfo on AcpiBuildState
We don't need to save the pointer on AcpiBuildState, as it is not used anymore. 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:
parent
fb306ffeba
commit
f944d4798c
@ -2545,7 +2545,6 @@ struct AcpiBuildState {
|
||||
MemoryRegion *table_mr;
|
||||
/* Is table patched? */
|
||||
uint8_t patched;
|
||||
PcGuestInfo *guest_info;
|
||||
void *rsdp;
|
||||
MemoryRegion *rsdp_mr;
|
||||
MemoryRegion *linker_mr;
|
||||
@ -2826,8 +2825,6 @@ void acpi_setup(void)
|
||||
|
||||
build_state = g_malloc0(sizeof *build_state);
|
||||
|
||||
build_state->guest_info = guest_info;
|
||||
|
||||
acpi_set_pci_info();
|
||||
|
||||
acpi_build_tables_init(&tables);
|
||||
|
Loading…
Reference in New Issue
Block a user