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