]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: List CPU models using subclass list
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 30 Sep 2016 18:49:36 +0000 (15:49 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 17 Oct 2016 17:44:49 +0000 (15:44 -0200)
commitee465a3ef77c2b2975ffa71c72208c05b3f3970d
treeb8a6979bb5c9114ed2cb8e7be93f1660a7832f5c
parenta2f9976ea83c50b452d46b8b1189242617e4ac73
target-i386: List CPU models using subclass list

Instead of using the builtin_x86_defs array, use the QOM subclass
list to list CPU models on "-cpu ?" and "query-cpu-definitions".

Signed-off-by: Andreas Färber <afaerber@suse.de>
[ehabkost: copied code from a patch by Andreas:
 "target-i386: QOM'ify CPU", from March 2012]
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/cpu-qom.h
target-i386/cpu.c