mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
qapi: make query-cpu-definitions depend on specific targets
It depends on TARGET_PPC || TARGET_ARM || TARGET_I386 || TARGET_S390X. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190214152251.2073-15-armbru@redhat.com>
This commit is contained in:
parent
96f75b59b6
commit
25a9d6ca63
11 changed files with 70 additions and 102 deletions
|
@ -433,7 +433,7 @@ static void create_cpu_model_list(ObjectClass *klass, void *opaque)
|
|||
*cpu_list = entry;
|
||||
}
|
||||
|
||||
CpuDefinitionInfoList *arch_query_cpu_definitions(Error **errp)
|
||||
CpuDefinitionInfoList *qmp_query_cpu_definitions(Error **errp)
|
||||
{
|
||||
struct CpuDefinitionInfoListData list_data = {
|
||||
.list = NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue