]> git.proxmox.com Git - mirror_qemu.git/commit
pc: Set CPU model-id on compat_props for pc <= 2.4
authorEduardo Habkost <ehabkost@redhat.com>
Sat, 9 Apr 2016 19:26:38 +0000 (16:26 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 23 May 2016 16:19:36 +0000 (13:19 -0300)
commitcd6c1b7057bc897675897f44d15277c3a6e7b118
tree87c025a96b829aaac128d1fc32a621bfb142fafa
parentd494352c2f7818aeba184a8ef757569083740bb2
pc: Set CPU model-id on compat_props for pc <= 2.4

Instead of relying on x86_cpudef_setup() calling
qemu_hw_version(), just make old machines set model-id explicitly
on compat_props for qemu64, qemu32, and athlon. This will allow
us to eliminate x86_cpudef_setup() later.

Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/pc_piix.c
include/hw/i386/pc.h