aboutsummaryrefslogtreecommitdiff
path: root/stubs/qmp_pc_dimm.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/qmp_pc_dimm.c')
-rw-r--r--stubs/qmp_pc_dimm.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/stubs/qmp_pc_dimm.c b/stubs/qmp_pc_dimm.c
new file mode 100644
index 0000000000..9ddc4f619a
--- /dev/null
+++ b/stubs/qmp_pc_dimm.c
@@ -0,0 +1,13 @@
+#include "qemu/osdep.h"
+#include "qom/object.h"
+#include "hw/mem/pc-dimm.h"
+
+int qmp_pc_dimm_device_list(Object *obj, void *opaque)
+{
+ return 0;
+}
+
+uint64_t get_plugged_memory_size(void)
+{
+ return (uint64_t)-1;
+}