Since the ramfb stubs are needed exactly when the Kconfig symbols are not needed, move them to hw/display/ and compile them when ramfb.c is absent. 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-14-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			301 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			301 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include "qemu/osdep.h"
 | 
						|
#include "qapi/error.h"
 | 
						|
#include "hw/display/ramfb.h"
 | 
						|
 | 
						|
const VMStateDescription ramfb_vmstate = {};
 | 
						|
 | 
						|
void ramfb_display_update(QemuConsole *con, RAMFBState *s)
 | 
						|
{
 | 
						|
}
 | 
						|
 | 
						|
RAMFBState *ramfb_setup(Error **errp)
 | 
						|
{
 | 
						|
    error_setg(errp, "ramfb support not available");
 | 
						|
    return NULL;
 | 
						|
}
 |