qemu/hw/mem/memory-device-stubs.c
Paolo Bonzini 2c888febdf 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>
2024-04-18 11:17:27 +02:00

23 lines
352 B
C

#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;
}