summaryrefslogtreecommitdiffstats
path: root/hw/i386/pc_piix.c
diff options
context:
space:
mode:
authorSergio Lopez2019-09-30 17:26:29 +0200
committerPaolo Bonzini2019-10-22 09:39:54 +0200
commit703a548aa9f148186ed8647092e8645e5a85f373 (patch)
tree9ffef9a06c7ccab5752e6a03addc84a31f658a96 /hw/i386/pc_piix.c
parenthw/i386: split PCMachineState deriving X86MachineState from it (diff)
downloadqemu-703a548aa9f148186ed8647092e8645e5a85f373.tar.gz
qemu-703a548aa9f148186ed8647092e8645e5a85f373.tar.xz
qemu-703a548aa9f148186ed8647092e8645e5a85f373.zip
hw/i386: make x86.c independent from PCMachineState
As a last step into splitting PCMachineState and deriving X86MachineState from it, make the functions previously extracted from pc.c to x86.c independent from PCMachineState, using X86MachineState instead. 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>
Diffstat (limited to 'hw/i386/pc_piix.c')
-rw-r--r--hw/i386/pc_piix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 0afa8fe6ea..a86317cdff 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -154,7 +154,7 @@ static void pc_init1(MachineState *machine,
}
}
- x86_cpus_init(pcms);
+ x86_cpus_init(x86ms, pcmc->default_cpu_version);
if (kvm_enabled() && pcmc->kvmclock_enabled) {
kvmclock_create();