[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 26/49] pc: Move PcGuestInfo declaration to top of fil
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PULL 26/49] pc: Move PcGuestInfo declaration to top of file |
Date: |
Thu, 4 Feb 2016 23:52:43 +0200 |
From: Eduardo Habkost <address@hidden>
The struct will be used inside PCMachineState.
Signed-off-by: Eduardo Habkost <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Marcel Apfelbaum <address@hidden>
---
include/hw/i386/pc.h | 31 ++++++++++++++++---------------
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index 65e8f24..212eb7d 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -33,6 +33,22 @@
#define kvm_ioapic_in_kernel() 0
#endif
+/* Machine info for ACPI build: */
+struct PcGuestInfo {
+ bool isapc_ram_fw;
+ hwaddr ram_size, ram_size_below_4g;
+ unsigned apic_id_limit;
+ bool apic_xrupt_override;
+ uint64_t numa_nodes;
+ uint64_t *node_mem;
+ uint64_t *node_cpu;
+ FWCfgState *fw_cfg;
+ int legacy_acpi_table_size;
+ bool has_acpi_build;
+ bool has_reserved_memory;
+ bool rsdp_in_ram;
+};
+
/**
* PCMachineState:
* @acpi_dev: link to ACPI PM device that performs ACPI hotplug handling
@@ -151,21 +167,6 @@ typedef struct PcPciInfo {
#define ACPI_PM_PROP_GPE0_BLK_LEN "gpe0_blk_len"
#define ACPI_PM_PROP_TCO_ENABLED "enable_tco"
-struct PcGuestInfo {
- bool isapc_ram_fw;
- hwaddr ram_size, ram_size_below_4g;
- unsigned apic_id_limit;
- bool apic_xrupt_override;
- uint64_t numa_nodes;
- uint64_t *node_mem;
- uint64_t *node_cpu;
- FWCfgState *fw_cfg;
- int legacy_acpi_table_size;
- bool has_acpi_build;
- bool has_reserved_memory;
- bool rsdp_in_ram;
-};
-
/* parallel.c */
void parallel_hds_isa_init(ISABus *bus, int n);
--
MST
- [Qemu-devel] [PULL 16/49] vhost-user-test: use correct ROM to speed up and avoid spurious failures, (continued)
- [Qemu-devel] [PULL 16/49] vhost-user-test: use correct ROM to speed up and avoid spurious failures, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 17/49] hw/pci: ensure that only PCI/PCIe bridges can be attached to pxb/pxb-pcie devices, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 18/49] ipmi: replace goto by a return statement, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 19/49] ipmi: replace *_MAXCMD defines, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 20/49] ipmi: cleanup error_report messages, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 21/49] ipmi: fix SDR length value, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 22/49] ipmi: introduce a struct ipmi_sdr_compact, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 23/49] ipmi: add get and set SENSOR_TYPE commands, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 24/49] ipmi: add GET_SYS_RESTART_CAUSE chassis command, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 25/49] ipmi: add ACPI power and GUID commands, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 26/49] pc: Move PcGuestInfo declaration to top of file,
Michael S. Tsirkin <=
- [Qemu-devel] [PULL 27/49] pc: Eliminate struct PcGuestInfoState, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 28/49] pc: Simplify pc_memory_init() signature, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 29/49] pc: Simplify xen_load_linux() signature, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 30/49] acpi: Remove guest_info parameters from functions, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 31/49] acpi: Don't save PcGuestInfo on AcpiBuildState, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 32/49] pc: Remove compat fields from PcGuestInfo, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 34/49] pc: Remove PcGuestInfo.isapc_ram_fw field, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 35/49] pc: Move PcGuestInfo.fw_cfg to PCMachineState, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 33/49] pc: Remove RAM size fields from PcGuestInfo, Michael S. Tsirkin, 2016/02/04
- [Qemu-devel] [PULL 37/49] pc: Eliminate PcGuestInfo struct, Michael S. Tsirkin, 2016/02/04