mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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>
This commit is contained in:
parent
5adbed3088
commit
f99fd7ca2a
2 changed files with 193 additions and 2 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue