mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 04:06:46 +00:00 
			
		
		
		
	 7da94ca741
			
		
	
	
		7da94ca741
		
	
	
	
	
		
			
			Test that qemu-img convert -c works when input image length is not a multiple of the cluster size. Previously an error message would be produced: qemu-img: error while compressing sector 0: Input/output error Now that qcow2 and qcow handle this case the test passes successfully. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
		
			
				
	
	
		
			18 lines
		
	
	
		
			498 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			498 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| QA output created by 053
 | |
| 
 | |
| == Creating single sector image ==
 | |
| Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=512 
 | |
| wrote 512/512 bytes at offset 0
 | |
| 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 | |
| 
 | |
| == Converting the image, compressed ==
 | |
| No errors were found on the image.
 | |
| 
 | |
| == Checking compressed image virtual disk size ==
 | |
| virtual size: 512 (512 bytes)
 | |
| 
 | |
| == Verifying the compressed image ==
 | |
| read 512/512 bytes at offset 0
 | |
| 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 | |
| *** done
 |