mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-30 19:15:42 +00:00 
			
		
		
		
	 afac471b71
			
		
	
	
		afac471b71
		
	
	
	
	
		
			
			While 197 is very much a qcow2 test, and it looks like the partial cluster case at the end (introduced inb0ddcbbb36) is specifically a qcow2 case, the whole test scripts actually marks itself to work with generic formats (and generic protocols, even). Said partial cluster case happened to work with non-qcow2 formats as well (mostly by accident), but1855536256broke that, because it sets the compat option, which does not work for non-qcow2 formats. So go the whole way and force IMGFMT=qcow2 and IMGPROTO=file, as done in other places in this test. Fixes:1855536256("iotests/197: Fix for compat=0.10") Reported-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200728131134.902519-1-mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| QA output created by 197
 | |
| 
 | |
| === Copy-on-read ===
 | |
| 
 | |
| Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296
 | |
| wrote 1024/1024 bytes at offset 3221225472
 | |
| 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 | |
| Formatting 'TEST_DIR/t.wrap.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT backing_fmt=IMGFMT
 | |
| wrote 65536/65536 bytes at offset 1048576
 | |
| 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 | |
| read 131072/131072 bytes at offset 1048576
 | |
| 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 | |
| read 0/0 bytes at offset 0
 | |
| 0 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 | |
| read 2147483136/2147483136 bytes at offset 1024
 | |
| 2 GiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 | |
| read 1024/1024 bytes at offset 3221226496
 | |
| 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 | |
| qemu-io: can't open device TEST_DIR/t.wrap.qcow2: Can't use copy-on-read on read-only device
 | |
| 2 GiB (0x80010000) bytes     allocated at offset 0 bytes (0x0)
 | |
| 1023.938 MiB (0x3fff0000) bytes not allocated at offset 2 GiB (0x80010000)
 | |
| 64 KiB (0x10000) bytes     allocated at offset 3 GiB (0xc0000000)
 | |
| 1023.938 MiB (0x3fff0000) bytes not allocated at offset 3 GiB (0xc0010000)
 | |
| No errors were found on the image.
 | |
| Images are identical.
 | |
| 
 | |
| === Partial final cluster ===
 | |
| 
 | |
| Formatting 'TEST_DIR/t.wrap.IMGFMT', fmt=IMGFMT size=1024
 | |
| read 1024/1024 bytes at offset 0
 | |
| 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 | |
| 1 KiB (0x400) bytes     allocated at offset 0 bytes (0x0)
 | |
| No errors were found on the image.
 | |
| *** done
 |