Patchwork Question about vpc 004 testcase of qemu-iotests

login
register
mail settings
Submitter Lyu Mitnick
Date April 17, 2011, 7:21 a.m.
Message ID <BANLkTimHfLVUsuoUUNXdzka1SY0pWhtWHg@mail.gmail.com>
Download mbox | patch
Permalink /patch/91531/
State New
Headers show

Comments

Lyu Mitnick - April 17, 2011, 7:21 a.m.
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)

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

Thanks

Mitnick
Stefan Hajnoczi - April 18, 2011, 9:29 a.m.
On Sun, Apr 17, 2011 at 8:21 AM, Lyu Mitnick <mitnick.lyu@gmail.com> wrote:
>  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)

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

Stefan

Patch

--- 004.out 2011-04-10 15:43:21.819400771 +0800
+++ 004.out.bad 2011-04-17 10:45:00.642745274 +0800
@@ -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