aboutsummaryrefslogtreecommitdiff
path: root/stubs/memory_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/memory_device.c')
-rw-r--r--stubs/memory_device.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/stubs/memory_device.c b/stubs/memory_device.c
new file mode 100644
index 0000000000..e75cac62dc
--- /dev/null
+++ b/stubs/memory_device.c
@@ -0,0 +1,12 @@
+#include "qemu/osdep.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;
+}