diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-02-14 16:22:47 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-02-18 14:44:05 +0100 |
commit | 25a9d6ca63e9f1cbc984bc7b2c1336daf562da70 (patch) | |
tree | b51551e30055f7aab6d15c7bd3a4b0a1a664ac65 /target/ppc | |
parent | 96f75b59b6595c305c79181d7a1b6423aec5de06 (diff) | |
download | qemu-25a9d6ca63e9f1cbc984bc7b2c1336daf562da70.zip qemu-25a9d6ca63e9f1cbc984bc7b2c1336daf562da70.tar.gz qemu-25a9d6ca63e9f1cbc984bc7b2c1336daf562da70.tar.bz2 |
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>
Diffstat (limited to 'target/ppc')
-rw-r--r-- | target/ppc/translate_init.inc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/ppc/translate_init.inc.c b/target/ppc/translate_init.inc.c index 59e0b86..f393a40 100644 --- a/target/ppc/translate_init.inc.c +++ b/target/ppc/translate_init.inc.c @@ -38,6 +38,7 @@ #include "qemu/cutils.h" #include "disas/capstone.h" #include "fpu/softfloat.h" +#include "qapi/qapi-commands-target.h" //#define PPC_DUMP_CPU //#define PPC_DEBUG_SPR @@ -10201,7 +10202,7 @@ static void ppc_cpu_defs_entry(gpointer data, gpointer user_data) *first = entry; } -CpuDefinitionInfoList *arch_query_cpu_definitions(Error **errp) +CpuDefinitionInfoList *qmp_query_cpu_definitions(Error **errp) { CpuDefinitionInfoList *cpu_list = NULL; GSList *list; |