aboutsummaryrefslogtreecommitdiff
path: root/stubs
diff options
context:
space:
mode:
Diffstat (limited to 'stubs')
-rw-r--r--stubs/memory_device.c22
-rw-r--r--stubs/meson.build1
2 files changed, 0 insertions, 23 deletions
diff --git a/stubs/memory_device.c b/stubs/memory_device.c
deleted file mode 100644
index 15fd93ff67..0000000000
--- a/stubs/memory_device.c
+++ /dev/null
@@ -1,22 +0,0 @@
-#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;
-}
diff --git a/stubs/meson.build b/stubs/meson.build
index 92887660e4..a4404e765a 100644
--- a/stubs/meson.build
+++ b/stubs/meson.build
@@ -31,7 +31,6 @@ stub_ss.add(files('monitor.c'))
stub_ss.add(files('monitor-core.c'))
stub_ss.add(files('physmem.c'))
stub_ss.add(files('qemu-timer-notify-cb.c'))
-stub_ss.add(files('memory_device.c'))
stub_ss.add(files('qmp-command-available.c'))
stub_ss.add(files('qmp-quit.c'))
stub_ss.add(files('qtest.c'))