Skip to contentSkip to conversation

Question about vpc 004 testcase of qemu-iotests

Qemu-devel Lyu Mitnick 2 participants 2 messages Apr 17, 2011 – Apr 18, 2011

lore
Share & tools
lore
#0 lore raw

Hello all,

I use qemu-iotests to test vpc part of master tree. An error occurred when I
type ./check -vpc. Error message is as follows:

004 4s ... - output mismatch (see 004.out.bad)

004.out.bad 2011-04-17 10:45:00.642745274 +0800 renamed from 004.out 2011-04-10 15:43:21.819400771 +0800 +4 -2
@@ -9,7 +9,8 @@
 write failed: Input/output error
 
 write at image boundary
-write failed: Input/output error
+wrote 4096/4096 bytes at offset 134217728
+4 KiB, 1 ops; 0.0000 sec (28.678 KiB/sec and 7.1694 ops/sec)
 
 write past image boundary
 write failed: Input/output error
@@ -28,7 +29,8 @@
 read failed: Input/output error
 
 read at image boundary
-read failed: Input/output error
+read 4096/4096 bytes at offset 134217728
+4 KiB, 1 ops; 0.0000 sec (62.004 MiB/sec and 15873.0159 ops/sec)
 
 read past image boundary
 read failed: Input/output error

I am wondering whether it is a bug of block/vpc.c??

Thanks

Mitnick

#1 lore raw

004.out.bad 2011-04-17 10:45:00.642745274 +0800 line 13

Quoted 4 lines · Lyu Mitnick

 write at image boundary

004.out.bad 2011-04-17 10:45:00.642745274 +0800 renamed from 004.out 2011-04-10 15:43:21.819400771 +0800 +2 -1
-write failed: Input/output error
+wrote 4096/4096 bytes at offset 134217728
+4 KiB, 1 ops; 0.0000 sec (28.678 KiB/sec and 7.1694 ops/sec)

The point of this test is to check that I/O past the image boundary fails. vpc may be broken.

Stefan