mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-30 19:15:42 +00:00 
			
		
		
		
	 7c3a302859
			
		
	
	
		7c3a302859
		
	
	
	
	
		
			
			This patch implements a test case for the scenario that was failing
prior to the patch "migration/ram.c: do not set 'postcopy_running' in
POSTCOPY_INCOMING_END", commit acab30b85d.
This new test file 201 was derived from the test file 181 authored
by Kevin Wolf.
CC: Kevin Wolf <kwolf@redhat.com>
CC: Max Reitz <mreitz@redhat.com>
CC: Cleber Rosa <crosa@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
		
	
			
		
			
				
	
	
		
			24 lines
		
	
	
		
			414 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			414 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| QA output created by 201
 | |
| Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
 | |
| 
 | |
| === Starting VMs ===
 | |
| 
 | |
| 
 | |
| === Set 'migrate_set_capability postcopy-ram on' and migrate ===
 | |
| 
 | |
| 
 | |
| === Check if migration was successful ===
 | |
| 
 | |
| 
 | |
| === On destination, execute savevm and loadvm ===
 | |
| 
 | |
| (qemu) savevm state1
 | |
| (qemu) loadvm state1
 | |
| 
 | |
| === Shut down and check image ===
 | |
| 
 | |
| (qemu) quit
 | |
| (qemu) quit
 | |
| No errors were found on the image.
 | |
| *** done
 |