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>
		
			
				
	
	
		
			23 lines
		
	
	
		
			352 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			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;
 | |
| }
 |