 164dafd174
			
		
	
	
		164dafd174
		
	
	
	
	
		
			
			The preconfig state is only used if -incoming is not specified, which makes the RunState state machine more tricky than it need be. However there is already an equivalent condition which works even with -incoming, namely qdev_hotplug. Use it instead of a separate runstate. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
			
				
	
	
		
			8 lines
		
	
	
		
			141 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			141 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #include "qemu/osdep.h"
 | |
| #include "qapi/qmp/dispatch.h"
 | |
| 
 | |
| bool qmp_command_available(const QmpCommand *cmd, Error **errp)
 | |
| {
 | |
|     return true;
 | |
| }
 |