The former is only used twice, the latter is used over 30 times, and has a nicer error message. Cc: Luiz Capitulino <lcapitulino@redhat.com> Cc: Markus Armbruster <armbru@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
		
			
				
	
	
		
			10 lines
		
	
	
		
			209 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			209 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include "qemu-common.h"
 | 
						|
#include "sysemu/arch_init.h"
 | 
						|
#include "qapi/qmp/qerror.h"
 | 
						|
 | 
						|
CpuDefinitionInfoList *arch_query_cpu_definitions(Error **errp)
 | 
						|
{
 | 
						|
    error_set(errp, QERR_UNSUPPORTED);
 | 
						|
    return NULL;
 | 
						|
}
 |