From: Bo Tu
Replace the remaining "-drive file..."
by "-drive file=...,if=none,id=$device_id", then x86 and s390x
can get the common output.
"if=ide, if=floppy, if=scsi" are not supported by s390x,
so these test cases are not executed for s390x platform.
Signed-
From: Bo Tu
v1:
1. Replace the remaining "-drive file..." by "-drive
file=...,if=none,id=$device_id"
2. Do not execute test cases of "if=ide, if=floppy, if=scsi" for s390x
Bo Tu (1):
qemu-iotests: s390x: fix test 051
tests/qemu-iotests/051| 32 ++
Hi Max:
在 2015/12/5 5:21, Max Reitz 写道:
On 03.12.2015 11:01, Bo Tu wrote:
From: Bo Tu
The tests for ide device should only be tested for the pc
platform.
Set device_id to "drive0", and replace every "-drive file..."
by "-drive file=...,if=none,id=$device_id",
From: Bo Tu
The tests for ide device should only be tested for the pc
platform.
Set device_id to "drive0", and replace every "-drive file..."
by "-drive file=...,if=none,id=$device_id", then x86 and s390x
can get the common output in the test of "Snapshot
From: Bo Tu
Replacing awk with sed, then it's easier to read.
Replacing "[ ! -z "$default_alias_machine" ]" with
"[[ $default_alias_machine ]]", then it's slightly shorter.
Reviewed-by: Max Reitz
Suggested-By: Sascha Silbe
Reviewed-by: Sascha Silbe
irtio will pause VM
before shutdown.
Acked-by: Max Reitz
Reviewed-by: Sascha Silbe
Signed-off-by: Bo Tu
---
tests/qemu-iotests/068 | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/tests/qemu-iotests/068 b/tests/qemu-iotests/068
index b72e555..58d1d80 100755
-
From: Bo Tu
v4:
1. Remove 051.s390.out, and rollback the changes in Makefile to generate
051.s390-ccw-virtio.out
2. Use 051.out as the common output for any non-pc platform
3. Set device_id to "drive0", and replace every "-drive file..."
by "-drive file=...,if=none,id=
From: Bo Tu
Replacing awk with sed, then it's easier to read.
Replacing "[ ! -z "$default_alias_machine" ]" with
"[[ $default_alias_machine ]]", then it's slightly shorter.
Reviewed-by: Max Reitz
Suggested-By: Sascha Silbe
Reviewed-by: Sascha Silbe
From: Bo Tu
Now, s390-virtio-ccw is default machine and s390-ccw.img is default boot
loader. If the s390-virtio-ccw machine finds no device to load from and
errors out, then emits a panic and exits the vm. This breaks test cases
068 for s390x.
Adding the parameter of "-no-shutdown" fo
From: Bo Tu
v3:
1. Remove patch for test 120 because Fam Zheng upstreamed same fix for
test 119 and 120
2. Rename 051.out to 051.s390.out, add rule in Makefile to generate
051.s390-ccw-virtio.out
3. Remove superfluous quotation marks in common.config
4. Add "Acked-by: Max Reitz " fo
file is also
needed.
Warning message expected for s390x when drive without device.
Reviewed-by: Sascha Silbe
Signed-off-by: Bo Tu
---
tests/qemu-iotests/051| 99 ++
tests/qemu-iotests/051.out| 143 +++---
tests/qemu-iotests/051.pc.out | 422 +
irtio will pause VM
before shutdown.
Reviewed-by: Sascha Silbe
Signed-off-by: Bo Tu
---
tests/qemu-iotests/068 | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/tests/qemu-iotests/068 b/tests/qemu-iotests/068
index b72e555..58d1d80 100755
--- a/tests/qemu-iotests
}}
wrote 65536/65536 bytes at offset 0
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
Since some architectures do not even have a graphical console, we just
pass -nographic to avoid the output.
Fixes: a68197ff5b11 ("iotests: Add tests for overriding
BDRV_O_PROTOCOL")
Reviewe
for test 051
3. checkpatch.pl reports invaid UTF-8 error for 051 patch,
because its output files contain some non-text data
4. Add the parameter of "-no-shutdown -machine accel=kvm" for
s390-ccw-virtio for test 068
5. Disable VNC server for test 120
Bo Tu (4):
qemu-iotes
Replacing sed with awk, then it's easier to read.
Replacing "[ ! -z "$default_alias_machine" ]" with
"[[ $default_alias_machine ]]", then it's slightly shorter.
Suggested-By: Sascha Silbe
Reviewed-by: Sascha Silbe
Reviewed-by: Eric Blake
Signe
Be easier to read, and be slightly shorter.
Suggested-By: Sascha Silbe
Reviewed-by: Sascha Silbe
Signed-off-by: Bo Tu
---
tests/qemu-iotests/common.config | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tests/qemu-iotests/common.config b/tests/qemu-iotests
file is also
needed.
Warning message expected for s390x when drive without device.
Reviewed-by: Sascha Silbe
Signed-off-by: Bo Tu
---
tests/qemu-iotests/051| 99 ++
tests/qemu-iotests/051.out| 143 +++---
tests/qemu-iotests/051.pc.out | 422 +
irtio will pause VM
before shutdown.
Reviewed-by: Sascha Silbe
Signed-off-by: Bo Tu
---
tests/qemu-iotests/068 | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/tests/qemu-iotests/068 b/tests/qemu-iotests/068
index b72e555..0d58482 100755
--- a/tests/qemu-iotests
}}
wrote 65536/65536 bytes at offset 0
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
Since some architectures do not even have a graphical console, we just
pass -nographic to avoid the output.
Fixes: a68197ff5b11 ("iotests: Add tests for overriding
BDRV_O_PROTOCOL")
Reviewe
This patch fixes an io test suite issue that was introduced with the
commit c88930a6866e74953e931ae749781e98e486e5c8 'qemu-char: Permit only
a single "stdio" character device'. The option supresses the creation of
default devices such as the floopy and cdrom. Output files for test case
067, 071, 08
There is no 'ide-cd' device defined on non-pc platform, so
test_medium_not_found() test should be skipped.
Reviewed-by: Max Reitz
Reviewed-by: Michael Mueller
Reviewed-by: Sascha Silbe
Signed-off-by: Xiao Guang Chen
---
tests/qemu-iotests/041 | 6 ++
tests/qemu-iotests/055 | 9 +
w it instead.
If you want to connect multiple things to stdio, use the mux
chardev.
3. updated all the checking of platform name to the current machine name
Bo Tu (5):
qemu-iotests: qemu machine type support
qemu-iotests: disable default qemu devices for cross-platform
compatibil
The default device id of hard disk on the s390 platform is "virtio0"
which differs to the "ide0-hd0" for the x86 platform. Setting id in
the drive definition, ie:"qemu -drive id=testdisk", will be the same
on all platforms.
Reviewed-by: Max Reitz
Signed-off-by: Bo T
-by: Max Reitz
Reviewed-by: Sascha Silbe
Signed-off-by: Bo Tu
---
tests/qemu-iotests/049.out | 10 --
util/qemu-option.c | 5 +
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/tests/qemu-iotests/049.out b/tests/qemu-iotests/049.out
index 9f93666..8884543 100644
This patch adds qemu machine type support to the io test suite.
Based on the qemu default machine type and alias of the default machine
type the reference output file can now vary from the default to a
machine specific output file if necessary. When using a machine specific
reference file if the de
The default device id of hard disk on the s390 platform is "virtio0"
which differs to the "ide0-hd0" for the x86 platform. Setting id in
the drive definition, ie:"qemu -drive id=testdisk", will be the same
on all platforms.
Reviewed-by: Max Reitz
Signed-off-by: Bo T
3. updated all the checking of platform name to the current machine name
Bo Tu (3):
qemu-iotests: s390x: fix test 049
qemu-iotests: s390x: fix test 051
qemu-iotests: s390x: fix test 130
Xiao Guang Chen (4):
qemu-iotests: qemu machine type support
qemu-iotests: run qemu with -nodefaults and
From: Xiao Guang Chen
There is no 'ide-cd' device defined on s390 platform, so
test_medium_not_found() test should be skipped.
Reviewed-by: Max Reitz
Reviewed-by: Michael Mueller
Signed-off-by: Xiao Guang Chen
---
tests/qemu-iotests/055 | 9 +
1 file changed, 9 insertions(+)
diff --
From: Xiao Guang Chen
There is no 'ide-cd' device defined on s390 platform, so
test_medium_not_found() test should be skipped.
Reviewed-by: Max Reitz
Reviewed-by: Michael Mueller
Signed-off-by: Xiao Guang Chen
---
tests/qemu-iotests/041 | 6 ++
1 file changed, 6 insertions(+)
diff --git
file is also
needed.
A new filter was added to filter orphan warnings.
Reviewed-by: Max Reitz
Signed-off-by: Bo Tu
---
tests/qemu-iotests/051 | 85 +---
tests/qemu-iotests/051.out | 158 +-
tests/qemu-iotests/051.pc.out| 433 +++
From: Xiao Guang Chen
This patch fixes an io test suite issue that was introduced with the
commit c88930a6866e74953e931ae749781e98e486e5c8 'qemu-char: Permit only
a single "stdio" character device'. The option supresses the creation of
default devices such as the floopy and cdrom. Output files fo
is undefined if the float is not
in the open interval (-1, U_MAX+1).
Reviewed-by: Max Reitz
Signed-off-by: Bo Tu
---
tests/qemu-iotests/049.out | 10 --
util/qemu-option.c | 5 +
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/tests/qemu-iotests/049.out b
From: Xiao Guang Chen
This patch adds qemu machine type support to the io test suite.
Based on the qemu default machine type and alias of the default machine type
the reference output file can now vary from the default to a machine specific
output file if necessary. When using a machine specific
file is also
needed.
A new filter was added to filter orphan warnings.
Reviewed-by: Max Reitz
Signed-off-by: Bo Tu
---
tests/qemu-iotests/051 | 85 +---
tests/qemu-iotests/051.out | 158 +-
tests/qemu-iotests/051.pc.out| 433 +++
is undefined if the float is not
in the open interval (-1, U_MAX+1).
Reviewed-by: Max Reitz
Signed-off-by: Bo Tu
---
tests/qemu-iotests/049.out | 10 --
util/qemu-option.c | 5 +
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/tests/qemu-iotests/049.out b
From: Xiao Guang Chen
There is no 'ide-cd' device defined on s390 platform, so
test_medium_not_found() test should be skipped.
Reviewed-by: Max Reitz
Reviewed-by: Michael Mueller
Signed-off-by: Xiao Guang Chen
---
tests/qemu-iotests/055 | 9 +
1 file changed, 9 insertions(+)
diff --
The default device id of hard disk on the s390 platform is "virtio0"
which differs to the "ide0-hd0" for the x86 platform. Setting id in
the drive definition, ie:"qemu -drive id=testdisk", will be the same
on all platforms.
Reviewed-by: Max Reitz
Signed-off-by: Bo T
From: Xiao Guang Chen
This patch fixes an io test suite issue that was introduced with the
commit c88930a6866e74953e931ae749781e98e486e5c8 'qemu-char: Permit only
a single "stdio" character device'. The option supresses the creation of
default devices such as the floopy and cdrom. Output files fo
From: Xiao Guang Chen
There is no 'ide-cd' device defined on s390 platform, so
test_medium_not_found() test should be skipped.
Reviewed-by: Max Reitz
Reviewed-by: Michael Mueller
Signed-off-by: Xiao Guang Chen
---
tests/qemu-iotests/041 | 6 ++
1 file changed, 6 insertions(+)
diff --git
From: Xiao Guang Chen
This patch adds qemu machine type support to the io test suite.
Based on the qemu default machine type and alias of the default machine type
the reference output file can now vary from the default to a machine specific
output file if necessary. When using a machine specific
correctly on exit. Fixable. However, such usage makes no sense,
because the users race for input, so outlaw it instead.
If you want to connect multiple things to stdio, use the mux
chardev.
3. updated all the checking of platform name to the current machine name
Bo Tu (3):
qemu-iotes
file is also
needed.
A new filter was added to filter orphan warnings.
Reviewed-by: Max Reitz
Signed-off-by: Bo Tu
---
tests/qemu-iotests/051 | 85 +---
tests/qemu-iotests/051.out | 158 +-
tests/qemu-iotests/051.pc.out| 433 +++
se,
because the users race for input, so outlaw it instead.
If you want to connect multiple things to stdio, use the mux
chardev.
3. updated all the checking of platform name to the current machine name
Bo Tu (3):
qemu-iotests: s390x: fix test 049
qemu-iotests: s390x: fix test 051
is undefined if the float is not
in the open interval (-1, U_MAX+1).
Signed-off-by: Bo Tu
---
tests/qemu-iotests/049.out | 10 --
util/qemu-option.c | 5 +
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/tests/qemu-iotests/049.out b/tests/qemu-iotests/049.out
From: Xiao Guang Chen
There is no 'ide-cd' device defined on s390 platform, so
test_medium_not_found() test should be skipped.
Reviewed-by: Max Reitz
Reviewed-by: Michael Mueller
Signed-off-by: Xiao Guang Chen
---
tests/qemu-iotests/055 | 9 +
1 file changed, 9 insertions(+)
diff --
From: Xiao Guang Chen
This patch adds qemu machine type support to the io test suite.
Based on the qemu default machine type and alias of the default machine type
the reference output file can now vary from the default to a machine specific
output file if necessary. When using a machine specific
The default device id of hard disk on the s390 platform is "virtio0"
which differs to the "ide0-hd0" for the x86 platform. Setting id in
the drive definition, ie:"qemu -drive id=testdisk", will be the same
on all platforms.
Reviewed-by: Max Reitz
Signed-off-by: Bo T
From: Xiao Guang Chen
There is no 'ide-cd' device defined on s390 platform, so
test_medium_not_found() test should be skipped.
Reviewed-by: Max Reitz
Reviewed-by: Michael Mueller
Signed-off-by: Xiao Guang Chen
---
tests/qemu-iotests/041 | 6 ++
1 file changed, 6 insertions(+)
diff --git
From: Xiao Guang Chen
This patch fixes an io test suite issue that was introduced with the
commit c88930a6866e74953e931ae749781e98e486e5c8 'qemu-char: Permit only
a single "stdio" character device'. The option supresses the creation of
default devices such as the floopy and cdrom. Output files fo
e things to stdio, use the mux
chardev.
3. updated all the checking of platform name to the current machine name
Bo Tu (3):
qemu-iotests: s390x: fix test 049
qemu-iotests: s390x: fix test 051
qemu-iotests: s390x: fix test 130
Xiao Guang Chen (4):
qemu-iotests: qemu machine type support
file is also
needed.
A new filter was added to filter orphan warnings.
Signed-off-by: Bo Tu
---
tests/qemu-iotests/051 | 85 +---
tests/qemu-iotests/051.out | 158 +-
tests/qemu-iotests/051.pc.out| 433 +++
tests/qemu-i
From: Xiao Guang Chen
There is no 'ide-cd' device defined on s390 platform, so
test_medium_not_found() test should be skipped.
Reviewed-by: Max Reitz
Reviewed-by: Michael Mueller
Signed-off-by: Xiao Guang Chen
---
tests/qemu-iotests/055 | 9 +
1 file changed, 9 insertions(+)
diff --
From: Xiao Guang Chen
This patch fixes an io test suite issue that was introduced with the
commit c88930a6866e74953e931ae749781e98e486e5c8 'qemu-char: Permit only
a single "stdio" character device'. The option supresses the creation of
default devices such as the floopy and cdrom. Output files fo
is undefined if the float is not
in the open interval (-1, U_MAX+1).
Signed-off-by: Bo Tu
---
tests/qemu-iotests/049.out | 10 --
util/qemu-option.c | 4
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/tests/qemu-iotests/049.out b/tests/qemu-iotests/049.out
From: Xiao Guang Chen
This patch adds qemu machine type support to the io test suite.
Based on the qemu default machine type and alias of the default machine type
the reference output file can now vary from the default to a machine specific
output file if necessary. When using a machine specific
The default device id of hard disk on the s390 platform is "virtio0"
which differs to the "ide0-hd0" for the x86 platform. Setting id in
the drive definition, ie:"qemu -drive id=testdisk", will be the same
on all platforms.
Signed-off-by: Bo Tu
---
tests/qemu-iotes
From: Xiao Guang Chen
There is no 'ide-cd' device defined on s390 platform, so
test_medium_not_found() test should be skipped.
Reviewed-by: Max Reitz
Reviewed-by: Michael Mueller
Signed-off-by: Xiao Guang Chen
---
tests/qemu-iotests/041 | 6 ++
1 file changed, 6 insertions(+)
diff --git
From: Xiao Guang Chen
The tests for device type "ide_cd" should only be tested for the pc platform.
The default device id of hard disk on the s390 platform differs to that
of the x86 platform. A new variable device_id is defined and "virtio0"
set for the s390 platform. A x86 platform specific out
From: Xiao Guang Chen
There is no 'ide-cd' device defined on s390 platform, so
test_medium_not_found() test should be skipped.
Reviewed-by: Max Reitz
Reviewed-by: Michael Mueller
Signed-off-by: Xiao Guang Chen
---
tests/qemu-iotests/041 | 6 ++
1 file changed, 6 insertions(+)
diff --git
file is also
needed.
Signed-off-by: Bo Tu
---
tests/qemu-iotests/130| 13 +++--
tests/qemu-iotests/130.out| 4 ++--
tests/qemu-iotests/130.pc.out | 43 +++
3 files changed, 56 insertions(+), 4 deletions(-)
create mode 100644 tests/qem
From: Xiao Guang Chen
There is no 'ide-cd' device defined on s390 platform, so
test_medium_not_found() test should be skipped.
Reviewed-by: Max Reitz
Reviewed-by: Michael Mueller
Signed-off-by: Xiao Guang Chen
---
tests/qemu-iotests/055 | 9 +
1 file changed, 9 insertions(+)
diff --
From: Xiao Guang Chen
This patch fixes an io test suite issue that was introduced with the
commit c88930a6866e74953e931ae749781e98e486e5c8 'qemu-char: Permit only
a single "stdio" character device'. The option supresses the creation of
default devices such as the floopy and cdrom. Output files fo
From: Xiao Guang Chen
This patch adds qemu machine type support to the io test suite.
Based on the qemu default machine type and alias of the default machine type
the reference output file can now vary from the default to a machine specific
output file if necessary. When using a machine specific
when creating an image qemu-img enable us specifying the size of the
image using -o size=xx options. But when we specify an invalid size
such as a negtive size then different platform gives different result.
parse_option_size() function in util/qemu-option.c will be called to
parse the size, a cas
chardev.
3. updated all the checking of platform name to the current machine name
Bo Tu (1):
qemu-iotests-s390x-fix-test-130
Xiao Guang Chen (5):
qemu-iotests: qemu machine type support
qemu-iotests: run qemu with -nodefaults and fix 067,071,081 and 087
qemu-iotests: s390x: fix test
65 matches
Mail list logo