diff options
author | Sergio Lopez | 2019-09-30 17:26:29 +0200 |
---|---|---|
committer | Paolo Bonzini | 2019-10-22 09:39:54 +0200 |
commit | 703a548aa9f148186ed8647092e8645e5a85f373 (patch) | |
tree | 9ffef9a06c7ccab5752e6a03addc84a31f658a96 /hw/i386/pc_piix.c | |
parent | hw/i386: split PCMachineState deriving X86MachineState from it (diff) | |
download | qemu-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.c | 2 |
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(); |