[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC v2 00/39] Convert PC machine-types to QOM classes
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [RFC v2 00/39] Convert PC machine-types to QOM classes |
Date: |
Fri, 13 Jun 2014 16:43:39 -0300 |
Now with lots of cleanup, so you can see how the end result will look like after
the conversion.
My goal is that _all_ PC machine-types should be declared using only a
class_init + TypeInfo pair, and nothing else. The only thing I couldn't
eliminate yet were the pc_compat_*() functions, because we still need them for
the KVM CPUID compat stuff.
Eduardo Habkost (39):
q35: Use PC_Q35_COMPAT_1_4 on pc-q35-1.4 compat_props
piix: Move pc-0.14 qxl compat properties to PC_COMPAT_0_14
piix: Move pc-0.13 virtio-9p-pci compat to PC_COMPAT_0_13
piix: Move pc-0.1[23] rombar compat props to PC_COMPAT_0_13
piix: Move pc-0.11 drive version compat props TO PC_COMPAT_0_11
vl.c: Use qdev_prop_register_global() for single globals
machine: Make compat_props a linked list
pc: Register machine classes directly instead of using QEMUMachine
pc: Eliminate pc_common_machine_options()
pc: Eliminate pc_default_machine_options()
piix: Eliminate pc_i440fx_machine_options()
q35: Eliminate pc_q35_machine_options()
q35: Eliminate pc_q35_1_4_machine_options()
pc: Eliminate *machine_options macros
piix: Make all *machine_options() functions call the previous one
pc: Eliminate all *_machine_options() functions
pc: Move pci_enabled parameter to PCMachineClass
q35: Use PCMachineClass.pci_enabled field
pc: Move kvmclock_enabled to PCMachineClass
pc: Move smbios_legacy_mode to PCMachineClass
pc: Move smbios_defaults to PCMachineClass
pc: Move has_acpi_build to PCMachineClass
pc: Move has_pci_info to PCMachineClass
pc: Move gigabyte_align to PCMachineClass
pc: Move has_reserved_memory to PCMachineClass
pc: Move option_rom_has_mr/rom_file_has_mr to MachineClass
piix: Eliminate pc_init_pci()
piix: Introduce struct PCI440FXMachineClass
pc: Create common machine init function
pc: Eliminate empty or trivial compat functions
piix: Move compat/init functions closer to corresponding class_init
pc: Rename pc_machine variable to pcms
pc: Move {ram,pci,rom}_memory variables to PCMachineState
pc: Move duplicate Xen init code to pc_machine_init()
pc: Move icc_bridge variable to PCMachineState
pc: Move duplicate icc-bridge and CPU initalization to
pc_machine_init()
pc: Make pc_cpus_init() static
pc: Make pc_cpus_init() use PCMachineState
machine: Eliminate QEMUMachine.compat_props
hw/core/loader.c | 12 +-
hw/core/machine.c | 17 +
hw/core/qdev-properties.c | 9 +-
hw/i386/pc.c | 83 ++---
hw/i386/pc_piix.c | 802 +++++++++++++++++++++++--------------------
hw/i386/pc_q35.c | 288 ++++++++--------
include/hw/boards.h | 13 +-
include/hw/i386/pc.h | 44 +--
include/hw/qdev-core.h | 2 +
include/hw/qdev-properties.h | 2 +-
vl.c | 44 +--
11 files changed, 688 insertions(+), 628 deletions(-)
--
1.9.0
- [Qemu-devel] [RFC v2 00/39] Convert PC machine-types to QOM classes,
Eduardo Habkost <=
- [Qemu-devel] [RFC v2 01/39] q35: Use PC_Q35_COMPAT_1_4 on pc-q35-1.4 compat_props, Eduardo Habkost, 2014/06/13
- [Qemu-devel] [RFC v2 03/39] piix: Move pc-0.13 virtio-9p-pci compat to PC_COMPAT_0_13, Eduardo Habkost, 2014/06/13
- [Qemu-devel] [RFC v2 02/39] piix: Move pc-0.14 qxl compat properties to PC_COMPAT_0_14, Eduardo Habkost, 2014/06/13
- [Qemu-devel] [RFC v2 05/39] piix: Move pc-0.11 drive version compat props TO PC_COMPAT_0_11, Eduardo Habkost, 2014/06/13
- [Qemu-devel] [RFC v2 06/39] vl.c: Use qdev_prop_register_global() for single globals, Eduardo Habkost, 2014/06/13
- [Qemu-devel] [RFC v2 07/39] machine: Make compat_props a linked list, Eduardo Habkost, 2014/06/13
- [Qemu-devel] [RFC v2 08/39] pc: Register machine classes directly instead of using QEMUMachine, Eduardo Habkost, 2014/06/13