]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
i386: keep cpu_model field in MachineState uptodate
authorZhu Guihua <zhugh.fnst@cn.fujitsu.com>
Thu, 15 Oct 2015 03:12:12 +0000 (11:12 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 22 Oct 2015 11:34:50 +0000 (14:34 +0300)
commit4884b7bfe962e659c0e20c1d0de6f307d58f09be
tree95dd0e0cc071088b7a90136bf8b480c3608180bf
parent25a2a920dddcf72896d94b37b6048a8147bc3198
i386: keep cpu_model field in MachineState uptodate

Update cpu_model in MachineState for i386, so that the field can be used
for cpu hotplug, instead of using a static variable.

This patch is rebased on the latest master.

Signed-off-by: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Acked-by: Andreas Färber <afaerber@suse.de>
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h