summaryrefslogtreecommitdiff
path: root/stubs/qmp_memory_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/qmp_memory_device.c')
-rw-r--r--stubs/qmp_memory_device.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/stubs/qmp_memory_device.c b/stubs/qmp_memory_device.c
new file mode 100644
index 0000000000..85ff8f2d7e
--- /dev/null
+++ b/stubs/qmp_memory_device.c
@@ -0,0 +1,13 @@
+#include "qemu/osdep.h"
+#include "qom/object.h"
+#include "hw/mem/memory-device.h"
+
+MemoryDeviceInfoList *qmp_memory_device_list(void)
+{
+ return NULL;
+}
+
+uint64_t get_plugged_memory_size(void)
+{
+ return (uint64_t)-1;
+}