mirror of
https://github.com/xemu-project/xemu.git
synced 2026-07-11 01:24:41 +02:00
memory-device: move stubs out of stubs/
Since the memory-device stubs are needed exactly when the Kconfig symbols are not needed, move them to hw/mem/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20240408155330.522792-15-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user