[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 01/14] q35: Remove MCHPCIState.guest_info field
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PATCH v2 01/14] q35: Remove MCHPCIState.guest_info field |
Date: |
Fri, 11 Dec 2015 16:42:20 -0200 |
The field is not used for anything.
Signed-off-by: Eduardo Habkost <address@hidden>
---
hw/i386/pc_q35.c | 1 -
include/hw/pci-host/q35.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index 9da751b..43ee8bb 100644
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35.c
@@ -176,7 +176,6 @@ static void pc_q35_init(MachineState *machine)
q35_host->mch.address_space_io = get_system_io();
q35_host->mch.below_4g_mem_size = pcms->below_4g_mem_size;
q35_host->mch.above_4g_mem_size = pcms->above_4g_mem_size;
- q35_host->mch.guest_info = guest_info;
/* pci */
qdev_init_nofail(DEVICE(q35_host));
phb = PCI_HOST_BRIDGE(q35_host);
diff --git a/include/hw/pci-host/q35.h b/include/hw/pci-host/q35.h
index dbe6dc0..c5c073d 100644
--- a/include/hw/pci-host/q35.h
+++ b/include/hw/pci-host/q35.h
@@ -59,7 +59,6 @@ typedef struct MCHPCIState {
ram_addr_t below_4g_mem_size;
ram_addr_t above_4g_mem_size;
uint64_t pci_hole64_size;
- PcGuestInfo *guest_info;
uint32_t short_root_bus;
IntelIOMMUState *iommu;
} MCHPCIState;
--
2.1.0
- [Qemu-devel] [PATCH v2 00/14] pc: Eliminate struct PcGuestInfo, Eduardo Habkost, 2015/12/11
- [Qemu-devel] [PATCH v2 01/14] q35: Remove MCHPCIState.guest_info field,
Eduardo Habkost <=
- [Qemu-devel] [PATCH v2 02/14] pc: Group and document related PCMachineState/PCMachineclass fields, Eduardo Habkost, 2015/12/11
- [Qemu-devel] [PATCH v2 03/14] pc: Move PcGuestInfo declaration to top of file, Eduardo Habkost, 2015/12/11
- [Qemu-devel] [PATCH v2 04/14] pc: Eliminate struct PcGuestInfoState, Eduardo Habkost, 2015/12/11
- [Qemu-devel] [PATCH v2 05/14] pc: Simplify pc_memory_init() signature, Eduardo Habkost, 2015/12/11
- [Qemu-devel] [PATCH v2 06/14] pc: Simplify xen_load_linux() signature, Eduardo Habkost, 2015/12/11