summaryrefslogtreecommitdiffstats
path: root/qemu/stubs/arch-query-cpu-def.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/stubs/arch-query-cpu-def.c')
-rw-r--r--qemu/stubs/arch-query-cpu-def.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/qemu/stubs/arch-query-cpu-def.c b/qemu/stubs/arch-query-cpu-def.c
new file mode 100644
index 000000000..a975ab453
--- /dev/null
+++ b/qemu/stubs/arch-query-cpu-def.c
@@ -0,0 +1,9 @@
+#include "qemu-common.h"
+#include "sysemu/arch_init.h"
+#include "qapi/qmp/qerror.h"
+
+CpuDefinitionInfoList *arch_query_cpu_definitions(Error **errp)
+{
+ error_setg(errp, QERR_UNSUPPORTED);
+ return NULL;
+}