If flushing the block devices fails, return an error. The VM is stopped anyway. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
		
			
				
	
	
		
			8 lines
		
	
	
		
			98 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			98 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include "qemu-common.h"
 | 
						|
#include "sysemu/sysemu.h"
 | 
						|
 | 
						|
int vm_stop(RunState state)
 | 
						|
{
 | 
						|
    abort();
 | 
						|
}
 |