]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/i386: split PCMachineState deriving X86MachineState from it
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Oct 2019 07:39:50 +0000 (09:39 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Oct 2019 07:39:50 +0000 (09:39 +0200)
commitf0bb276bf8d5b3df57697357b802ca76e4cdf05f
tree316e0cd59b14d13a5ba4471d6a75c297f0603afe
parent549e984e67d8b3ea868be4ba935cecb9c1e753dc
hw/i386: split PCMachineState deriving X86MachineState from it

Split up PCMachineState and PCMachineClass and derive X86MachineState
and X86MachineClass from them. This allows sharing code with non-PC
x86 machine types.

Signed-off-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
12 files changed:
hw/acpi/cpu_hotplug.c
hw/i386/acpi-build.c
hw/i386/amd_iommu.c
hw/i386/intel_iommu.c
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/i386/x86.c
hw/i386/xen/xen-hvm.c
hw/intc/ioapic.c
include/hw/i386/pc.h
include/hw/i386/x86.h