Changes v1 -> v2: * Fix build error on patch 1/4 This implements some extras code cleanups in the PC code:
* Move some local variables from pc_init1() and pc_q35_init() to PCMachineState, so initialization functions can get that info from a PCMachineState* argument directly * Move some compat global variables to PCMachineClass, and move compatibility code from pc_compat_*() functions to the corresponding *_machine_options() function Eduardo Habkost (4): pc: Remove redundant arguments from xen_hvm_init() pc: Move compat boolean globals to PCMachineClass pc: Move legacy_acpi_table_size global to PCMachineClass pc: Move acpi_data_size global to PCMachineClass hw/i386/pc.c | 25 +++++----- hw/i386/pc_piix.c | 130 ++++++++++++++++++++++++--------------------------- hw/i386/pc_q35.c | 60 +++++++++++------------- include/hw/i386/pc.h | 21 ++++++++- include/hw/xen/xen.h | 4 +- xen-hvm-stub.c | 3 +- xen-hvm.c | 25 +++++----- 7 files changed, 135 insertions(+), 133 deletions(-) -- 2.1.0