[Qemu-devel] [PATCH v1] qemu-iotests: s390x: fix test 051

2016-01-03 Thread Bo Tu
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-

[Qemu-devel] [PATCH v1] Update tests/qemu-iotests 051 for the s390x platform

2016-01-03 Thread Bo Tu
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 ++

Re: [Qemu-devel] [PATCH v4 2/3] qemu-iotests: s390x: fix test 051

2015-12-04 Thread Bo Tu
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",

[Qemu-devel] [PATCH v4 2/3] qemu-iotests: s390x: fix test 051

2015-12-03 Thread Bo Tu
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

[Qemu-devel] [PATCH v4 1/3] qemu-iotests: refine common.config

2015-12-03 Thread Bo Tu
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

[Qemu-devel] [PATCH v4 3/3] qemu-iotests: s390x: fix test 068

2015-12-03 Thread Bo Tu
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 -

[Qemu-devel] [PATCH v4 0/3] Update tests/qemu-iotests failing cases for the s390 platform

2015-12-03 Thread Bo Tu
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=

[Qemu-devel] [PATCH v3 1/3] qemu-iotests: refine common.config

2015-11-26 Thread Bo Tu
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

[Qemu-devel] [PATCH v3 3/3] qemu-iotests: s390x: fix test 068

2015-11-26 Thread Bo Tu
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

[Qemu-devel] [PATCH v3 0/3] Update tests/qemu-iotests failing cases for the s390 platform

2015-11-26 Thread Bo Tu
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

[Qemu-devel] [PATCH v2 2/4] qemu-iotests: s390x: fix test 051

2015-11-03 Thread Bo Tu
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 +

[Qemu-devel] [PATCH v2 3/4] qemu-iotests: s390x: fix test 068

2015-11-03 Thread Bo Tu
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

[Qemu-devel] [PATCH v2 4/4] qemu-iotests: disable VNC server for test 120

2015-11-03 Thread Bo Tu
}} 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

[Qemu-devel] [PATCH v2 0/4] Update tests/qemu-iotests failing cases for the s390 platform

2015-11-03 Thread Bo Tu
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

[Qemu-devel] [PATCH v2 1/4] qemu-iotests: refine common.config

2015-11-03 Thread Bo Tu
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

[Qemu-devel] [PATCH v1 1/4] qemu-iotests: refine common.config

2015-10-30 Thread Bo Tu
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

[Qemu-devel] [PATCH v1 2/4] qemu-iotests: s390x: fix test 051

2015-10-30 Thread Bo Tu
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 +

[Qemu-devel] [PATCH v1 3/4] qemu-iotests: s390x: fix test 068

2015-10-30 Thread Bo Tu
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

[Qemu-devel] [PATCH v1 4/4] qemu-iotests: disable VNC server for test 120

2015-10-30 Thread Bo Tu
}} 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

[Qemu-devel] [PATCH v11 2/5] qemu-iotests: disable default qemu devices for cross-platform compatibility

2015-07-03 Thread Bo Tu
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

[Qemu-devel] [PATCH v11 3/5] qemu-iotests: s390x: fix test 041 and 055

2015-07-03 Thread Bo Tu
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 +

[Qemu-devel] [PATCH v11 0/5] Update tests/qemu-iotests failing cases for the s390 platform

2015-07-03 Thread Bo Tu
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

[Qemu-devel] [PATCH v11 5/5] qemu-iotests: s390x: fix test 130

2015-07-03 Thread Bo Tu
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

[Qemu-devel] [PATCH v11 4/5] qemu-iotests: s390x: fix test 049, reject negative sizes in QemuOpts

2015-07-03 Thread Bo Tu
-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

[Qemu-devel] [PATCH v11 1/5] qemu-iotests: qemu machine type support

2015-07-03 Thread Bo Tu
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

[Qemu-devel] [PATCH v10 7/7] qemu-iotests: s390x: fix test 130

2015-05-28 Thread Bo Tu
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

[Qemu-devel] [PATCH v10 0/7] Update tests/qemu-iotests failing cases for the s390 platform

2015-05-28 Thread Bo Tu
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

[Qemu-devel] [PATCH v10 4/7] qemu-iotests: s390x: fix test 055

2015-05-28 Thread Bo Tu
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 --

[Qemu-devel] [PATCH v10 3/7] qemu-iotests: s390x: fix test 041

2015-05-28 Thread Bo Tu
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

[Qemu-devel] [PATCH v10 6/7] qemu-iotests: s390x: fix test 051

2015-05-28 Thread Bo Tu
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 +++

[Qemu-devel] [PATCH v10 2/7] qemu-iotests: run qemu with -nodefaults and fix 067, 071, 081 and 087

2015-05-28 Thread Bo Tu
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

[Qemu-devel] [PATCH v10 5/7] qemu-iotests: s390x: fix test 049

2015-05-28 Thread Bo Tu
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

[Qemu-devel] [PATCH v10 1/7] qemu-iotests: qemu machine type support

2015-05-28 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v9 6/7] qemu-iotests: s390x: fix test 051

2015-05-24 Thread Bo Tu
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 +++

[Qemu-devel] [PATCH RFC v9 5/7] qemu-iotests: s390x: fix test 049

2015-05-24 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v9 4/7] qemu-iotests: s390x: fix test 055

2015-05-24 Thread Bo Tu
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 --

[Qemu-devel] [PATCH RFC v9 7/7] qemu-iotests: s390x: fix test 130

2015-05-24 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v9 2/7] qemu-iotests: run qemu with -nodefaults and fix 067, 071, 081 and 087

2015-05-24 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v9 3/7] qemu-iotests: s390x: fix test 041

2015-05-24 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v9 1/7] qemu-iotests: qemu machine type support

2015-05-24 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v9 0/7] Update tests/qemu-iotests failing cases for the s390 platform

2015-05-24 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v9 6/7] qemu-iotests: s390x: fix test 051

2015-05-21 Thread Bo Tu
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 +++

[Qemu-devel] [PATCH RFC v9 0/7] Update tests/qemu-iotests failing cases for the s390 platform

2015-05-21 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v9 5/7] qemu-iotests: s390x: fix test 049

2015-05-21 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v9 4/7] qemu-iotests: s390x: fix test 055

2015-05-21 Thread Bo Tu
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 --

[Qemu-devel] [PATCH RFC v9 1/7] qemu-iotests: qemu machine type support

2015-05-21 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v9 7/7] qemu-iotests: s390x: fix test 130

2015-05-21 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v9 3/7] qemu-iotests: s390x: fix test 041

2015-05-21 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v9 2/7] qemu-iotests: run qemu with -nodefaults and fix 067, 071, 081 and 087

2015-05-21 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v8 0/7] Update tests/qemu-iotests failing cases for the s390 platform

2015-05-07 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v8 6/7] qemu-iotests: s390x: fix test 051

2015-05-07 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v8 4/7] qemu-iotests: s390x: fix test 055

2015-05-07 Thread Bo Tu
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 --

[Qemu-devel] [PATCH RFC v8 2/7] qemu-iotests: run qemu with -nodefaults and fix 067, 071, 081 and 087

2015-05-07 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v8 5/7] qemu-iotests: s390x: fix test 049

2015-05-07 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v8 1/7] qemu-iotests: qemu machine type support

2015-05-07 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v8 7/7] qemu-iotests: s390x: fix test 130

2015-05-07 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v8 3/7] qemu-iotests: s390x: fix test 041

2015-05-07 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v7 6/7] qemu-iotests: s390x: fix test 051

2015-04-23 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v7 3/7] qemu-iotests: s390x: fix test 041

2015-04-23 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v7 7/7] qemu-iotests-s390x-fix-test-130

2015-04-23 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v7 4/7] qemu-iotests: s390x: fix test 055

2015-04-23 Thread Bo Tu
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 --

[Qemu-devel] [PATCH RFC v7 2/7] qemu-iotests: run qemu with -nodefaults and fix 067, 071, 081 and 087

2015-04-23 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v7 1/7] qemu-iotests: qemu machine type support

2015-04-23 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v7 5/7] qemu-iotests: s390x: fix test 049

2015-04-23 Thread Bo Tu
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

[Qemu-devel] [PATCH RFC v7 0/7] Update tests/qemu-iotests failing cases for the s390 platform

2015-04-23 Thread Bo Tu
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