summary refs log tree commit diff stats
path: root/hw/mem/memory-device-stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mem/memory-device-stubs.c')
-rw-r--r--hw/mem/memory-device-stubs.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/hw/mem/memory-device-stubs.c b/hw/mem/memory-device-stubs.c
new file mode 100644
index 0000000000..15fd93ff67
--- /dev/null
+++ b/hw/mem/memory-device-stubs.c
@@ -0,0 +1,22 @@
+#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;
+}
+
+unsigned int memory_devices_get_reserved_memslots(void)
+{
+    return 0;
+}
+
+bool memory_devices_memslot_auto_decision_active(void)
+{
+    return false;
+}