diff options
author | Sergio Lopez <slp@redhat.com> | 2019-09-30 17:26:29 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-10-22 09:39:54 +0200 |
commit | 703a548aa9f148186ed8647092e8645e5a85f373 (patch) | |
tree | 9ffef9a06c7ccab5752e6a03addc84a31f658a96 /hw/i386/pc_q35.c | |
parent | f0bb276bf8d5b3df57697357b802ca76e4cdf05f (diff) | |
download | qemu-703a548aa9f148186ed8647092e8645e5a85f373.zip qemu-703a548aa9f148186ed8647092e8645e5a85f373.tar.gz qemu-703a548aa9f148186ed8647092e8645e5a85f373.tar.bz2 |
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_q35.c')
-rw-r--r-- | hw/i386/pc_q35.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 374ac6c..75c8caf 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -181,7 +181,7 @@ static void pc_q35_init(MachineState *machine) xen_hvm_init(pcms, &ram_memory); } - x86_cpus_init(pcms); + x86_cpus_init(x86ms, pcmc->default_cpu_version); kvmclock_create(); |