]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
i386: Implement query-cpu-model-expansion QMP command
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 22 Feb 2017 19:00:28 +0000 (16:00 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 27 Feb 2017 16:23:31 +0000 (13:23 -0300)
commitf99fd7ca2afd33bb067e78740c4ee5a689494690
tree877635048d0daa6a675d95cc35d11bf5836a0340
parent5adbed3088ded43acdfb5da749441c38af671833
i386: Implement query-cpu-model-expansion QMP command

Implement query-cpu-model-expansion for target-i386.

This should meet all the requirements while being simple. In the
case of static expansion, it will use the new "base" CPU model,
and in the case of full expansion, it will keep the original CPU
model name+props, and append extra properties.

A future follow-up should improve the implementation of
type=full, so that it returns more detailed data, including every
writable QOM property in the CPU object.

Cc: libvir-list@redhat.com
Cc: Jiri Denemark <jdenemar@redhat.com>
Message-Id: <20170222190029.17243-3-ehabkost@redhat.com>
Tested-by: Jiri Denemark <jdenemar@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
monitor.c
target/i386/cpu.c