diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2017-02-22 16:00:28 -0300 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2017-02-27 13:23:31 -0300 |
commit | f99fd7ca2afd33bb067e78740c4ee5a689494690 (patch) | |
tree | 877635048d0daa6a675d95cc35d11bf5836a0340 /monitor.c | |
parent | 5adbed3088ded43acdfb5da749441c38af671833 (diff) |
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>
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -984,8 +984,10 @@ static void qmp_unregister_commands_hack(void) #ifndef TARGET_ARM qmp_unregister_command("query-gic-capabilities"); #endif -#if !defined(TARGET_S390X) +#if !defined(TARGET_S390X) && !defined(TARGET_I386) qmp_unregister_command("query-cpu-model-expansion"); +#endif +#if !defined(TARGET_S390X) qmp_unregister_command("query-cpu-model-baseline"); qmp_unregister_command("query-cpu-model-comparison"); #endif |