aboutsummaryrefslogtreecommitdiff
path: root/stubs/arch-query-cpu-model-expansion.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/arch-query-cpu-model-expansion.c')
-rw-r--r--stubs/arch-query-cpu-model-expansion.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/stubs/arch-query-cpu-model-expansion.c b/stubs/arch-query-cpu-model-expansion.c
new file mode 100644
index 0000000000..ae7cf554d1
--- /dev/null
+++ b/stubs/arch-query-cpu-model-expansion.c
@@ -0,0 +1,12 @@
+#include "qemu/osdep.h"
+#include "qemu-common.h"
+#include "sysemu/arch_init.h"
+#include "qapi/qmp/qerror.h"
+
+CpuModelExpansionInfo *arch_query_cpu_model_expansion(CpuModelExpansionType type,
+ CpuModelInfo *mode,
+ Error **errp)
+{
+ error_setg(errp, QERR_UNSUPPORTED);
+ return NULL;
+}