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

2015-04-22 Thread Xiao Guang Chen
file is also needed. A new filter was added to filter orphan warnings. Reviewed-by: Max Reitz Reviewed-by: Michael Mueller Signed-off-by: Xiao Guang Chen --- tests/qemu-iotests/051 | 79 --- tests/qemu-iotests/051.out | 156 +- tests/qemu-iotests

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

2015-04-22 Thread 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 --git a/

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

2015-04-22 Thread Xiao Guang Chen
viewed-by: Max Reitz Reviewed-by: Michael Mueller Signed-off-by: Xiao Guang Chen --- tests/qemu-iotests/067 | 8 +- tests/qemu-iotests/067.out | 266 +-- tests/qemu-iotests/071.out | 4 - tests/qemu-iotests/081.out | 2 - tests/

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

2015-04-22 Thread Xiao Guang Chen
assignment/cast is undefined if the float is not in the open interval (-1, U_MAX+1). Signed-off-by: Xiao Guang Chen --- 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 v7 0/7] Update tests/qemu-iotests failing cases for the s390 platform

2015-04-22 Thread Xiao Guang Chen
io, use the mux 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: s390

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

2015-04-22 Thread Xiao Guang Chen
From: Bo Tu 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 output file i

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

2015-04-22 Thread Xiao Guang Chen
default machine has an alias then use the alias as the output file name otherwise use the default machine name as the output file name. Reviewed-by: Max Reitz Reviewed-by: Michael Mueller Signed-off-by: Xiao Guang Chen --- tests/qemu-iotests/check | 5 + tests/qemu-iotests

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

2015-04-22 Thread 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 a/tests/qe

[Qemu-devel] [PATCH RFC v6 5/5] qemu-iotests: s390x: fix test 051

2015-02-11 Thread Xiao Guang Chen
file is also needed. A new filter was added to filter orphan warnings. Reviewed-by: Max Reitz Reviewed-by: Michael Mueller Signed-off-by: Xiao Guang Chen --- tests/qemu-iotests/051 | 79 +--- tests/qemu-iotests/051.out | 175 ++-- tests/qemu-iotests

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

2015-02-11 Thread Xiao Guang Chen
the current machine name 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 041 qemu-iotests: s390x: fix test 055 qemu-iotests: s390x: fix test 051 tests/qemu-iotests/041

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

2015-02-11 Thread Xiao Guang Chen
viewed-by: Max Reitz Reviewed-by: Michael Mueller Signed-off-by: Xiao Guang Chen --- tests/qemu-iotests/067 | 8 +- tests/qemu-iotests/067.out | 266 +-- tests/qemu-iotests/071.out | 4 - tests/qemu-iotests/081.out | 2 - tests/

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

2015-02-11 Thread 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 --git a/

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

2015-02-11 Thread 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 a/tests/qe

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

2015-02-11 Thread Xiao Guang Chen
default machine has an alias then use the alias as the output file name otherwise use the default machine name as the output file name. Reviewed-by: Max Reitz Reviewed-by: Michael Mueller Signed-off-by: Xiao Guang Chen --- tests/qemu-iotests/check | 5 + tests/qemu-iotests

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

2015-02-10 Thread Xiao Guang Chen
There is no 'ide-cd' device defined on s390 platform, so test_medium_not_found() test should be skipped. Signed-off-by: Xiao Guang Chen,che...@linux.vnet.ibm.com --- tests/qemu-iotests/041 | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tests/qemu-iotests/041 b/tests/qemu-i

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

2015-02-10 Thread Xiao Guang Chen
-by: Michael Mueller Signed-off-by: Xiao Guang Chen --- tests/qemu-iotests/067 | 8 +- tests/qemu-iotests/067.out | 266 +-- tests/qemu-iotests/071.out | 4 - tests/qemu-iotests/087.out | 12 -- tests/qemu-iotests/common

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

2015-02-10 Thread Xiao Guang Chen
There is no 'ide-cd' device defined on s390 platform, so test_medium_not_found() test should be skipped. Signed-off-by: Xiao Guang Chen,che...@linux.vnet.ibm.com --- tests/qemu-iotests/055 | 9 + 1 file changed, 9 insertions(+) diff --git a/tests/qemu-iotests/055 b/tests/qe

[Qemu-devel] [PATCH RFC v5 5/5] qemu-iotests: s390x: fix test 051

2015-02-10 Thread Xiao Guang Chen
file is also needed. A new filter was added to filter s390 warnings. Signed-off-by: Xiao Guang Chen,che...@linux.vnet.ibm.com --- tests/qemu-iotests/051 | 79 +--- tests/qemu-iotests/051.out | 160 +-- tests/qemu-iotests

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

2015-02-10 Thread Xiao Guang Chen
put, 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 Xiao Guang Chen (5): qemu-iotests: qemu machine type support qemu-iotests: run qemu with -nodefaults qemu-iotests: s

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

2015-02-10 Thread Xiao Guang Chen
default machine has an alias then use the alias as the output file name otherwise use the default machine name as the output file name. Signed-off-by: Xiao Guang Chen,che...@linux.vnet.ibm.com --- tests/qemu-iotests/check | 5 + tests/qemu-iotests/common.config | 9 + tests/qemu

[Qemu-devel] [PATCH RFC v4 6/6] qemu-iotests: s390x: fix test 055

2015-02-04 Thread Xiao Guang Chen
There is no such device 'ide-cd' defined on the s390 platform, so test_medium_not_found() test is skipped. Reviewed-by: Michael Mueller Signed-off-by: Xiao Guang Chen --- tests/qemu-iotests/055 | 9 + 1 file changed, 9 insertions(+) diff --git a/tests/qemu-iotests/055 b/

[Qemu-devel] [PATCH RFC v4 2/6] qemu-iotests: qemu machine type support

2015-02-04 Thread Xiao Guang Chen
From: Mao Chuan Li This patch adds qemu machine type support to the io test suite. Based on the qemu default machine type the reference output file can now vary from the default to a machine specific output file if necessary. That shall allow all platforms to use this test suite. Reviewed-by:

[Qemu-devel] [PATCH RFC v4 3/6] qemu-iotests: fix tests 067, 071 and 087

2015-02-04 Thread Xiao Guang Chen
-blk as device driver but other platform such as s390 may not recognize the virtio-blk-pci. Reviewed-by: Michael Mueller Signed-off-by: Xiao Guang Chen --- tests/qemu-iotests/067 | 8 +- tests/qemu-iotests/067.out | 266 + tests/qemu-iotests

[Qemu-devel] [PATCH RFC v4 1/6] qemu-iotests: run qemu with -nodefaults

2015-02-04 Thread 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. Reviewed-by: Michael Mueller Signed-off

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

2015-02-04 Thread Xiao Guang Chen
From: Mao Chuan Li The tests for device type "ide_cd" are skipped for the s390 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 s390 platform specific output file i

[Qemu-devel] [PATCH RFC v4 4/6] qemu-iotests: s390x: fix test 041

2015-02-04 Thread Xiao Guang Chen
From: Mao Chuan Li There is no such device 'ide-cd' defined on the s390 platform, so test_medium_not_found() test is skipped. Reviewed-by: Michael Mueller Signed-off-by: Mao Chuan Li --- tests/qemu-iotests/041 | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tests/qemu-iotests/041

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

2015-02-04 Thread Xiao Guang Chen
dated all the checking of platform name to the current machine name Mao Chuan Li (3): qemu-iotests: qemu machine type support qemu-iotests: s390x: fix test 041 qemu-iotests: s390x: fix test 051 Xiao Guang Chen (3): qemu-iotests: run qemu with -nodefaults qemu-iotests: fix tests 067, 071 and

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

2015-02-04 Thread Xiao Guang Chen
From: Mao Chuan Li The tests for device type "ide_cd" are skipped for the s390 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 s390 platform specific output file i

[Qemu-devel] [PATCH RFC v3 4/6] qemu-iotests: s390x: fix test 041

2015-02-04 Thread Xiao Guang Chen
From: Mao Chuan Li There is no such device 'ide-cd' defined on the s390 platform, so test_medium_not_found() test is skipped. Reviewed-by: Michael Mueller Signed-off-by: Mao Chuan Li --- tests/qemu-iotests/041 | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tests/qemu-iotests/041

[Qemu-devel] [PATCH RFC v3 3/6] qemu-iotests: run qemu with -nodefaults

2015-02-04 Thread Xiao Guang Chen
From: Mao Chuan Li 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. Reviewed-by: Michael Mueller Signed-off-by: M

[Qemu-devel] [PATCH RFC v3 2/6] qemu-iotests: qemu machine type support

2015-02-04 Thread Xiao Guang Chen
From: Mao Chuan Li This patch adds qemu machine type support to the io test suite. Based on the qemu default machine type the reference output file can now vary from the default to a machine specific output file if necessary. That shall allow all platforms to use this test suite. Reviewed-by:

[Qemu-devel] [PATCH RFC v3 1/6] qemu-iotests: fix tests 067, 071 and 087

2015-02-04 Thread Xiao Guang Chen
From: Xiao Guang Chen Update the output files for test case 067, 071 and 087 because qemu option -nodefaults was used to start a guest so there are no default floppy and cdrom for guests any more. Use virtio-blk instead of virtio-blk-pci as the device driver for test case 067. For virtio-blk-pci

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

2015-02-04 Thread Xiao Guang Chen
emu-iotests: qemu machine type support qemu-iotests: run qemu with -nodefaults qemu-iotests: s390x: fix test 041 qemu-iotests: s390x: fix test 051 qemu-iotests: s390x: fix test 055 Xiao Guang Chen (1): qemu-iotests: fix tests 067, 071 and 087 tests/qemu-iotests/041 | 6

[Qemu-devel] [PATCH RFC v3 6/6] qemu-iotests: s390x: fix test 055

2015-02-04 Thread Xiao Guang Chen
From: Mao Chuan Li There is no such device 'ide-cd' defined on the s390 platform, so test_medium_not_found() test is skipped. Reviewed-by: Michael Mueller Signed-off-by: Mao Chuan Li --- tests/qemu-iotests/055 | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tests/qemu-iotests/055

[Qemu-devel] [-prfix=PATCH v2 RFC 5/6] qemu-iotests: s390x: fix test 051

2015-01-28 Thread Xiao Guang Chen
From: Mao Chuan Li The tests for device type "ide_cd" are skipped for the s390 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 s390 platform specific output file i

[Qemu-devel] [-prfix=PATCH v2 RFC 4/6] qemu-iotests: s390x: fix test 041

2015-01-28 Thread Xiao Guang Chen
From: Mao Chuan Li There is no such device 'ide-cd' defined on the s390 platform, so test_medium_not_found() test is skipped. Reviewed-by: Michael Mueller Signed-off-by: Mao Chuan Li --- tests/qemu-iotests/041 | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tests/qemu-iotests/041

[Qemu-devel] [-prfix=PATCH v2 RFC 2/6] qemu-iotests: qemu machine type support

2015-01-28 Thread Xiao Guang Chen
From: Mao Chuan Li This patch adds qemu machine type support to the io test suite. Based on the qemu default machine type the reference output file can now vary from the default to a machine specific output file if necessary. That shall allow all platforms to use this test suite. Reviewed-by:

[Qemu-devel] [-prfix=PATCH v2 RFC 3/6] qemu-iotests: run qemu with -nodefaults

2015-01-28 Thread Xiao Guang Chen
From: Mao Chuan Li 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. Reviewed-by: Michael Mueller Signed-off-by: M

[Qemu-devel] [-prfix=PATCH v2 RFC 6/6] qemu-iotests: s390x: fix test 055

2015-01-28 Thread Xiao Guang Chen
From: Mao Chuan Li There is no such device 'ide-cd' defined on the s390 platform, so test_medium_not_found() test is skipped. Reviewed-by: Michael Mueller Signed-off-by: Mao Chuan Li --- tests/qemu-iotests/055 | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tests/qemu-iotests/055

[Qemu-devel] [-prfix=PATCH v2 RFC 1/6] qemu-iotests: fix tests 067, 071 and 087

2015-01-28 Thread Xiao Guang Chen
From: Xiao Guang Chen Due to no default floppy and cdrom for guests any more, output files for test case 067, 071 and 087 should be editted to make the test pass. Use virtio-blk instead of virtio-blk-pci as the device driver for test 067. For virtio-blk-pci is equal to virt-blk as device driver

[Qemu-devel] [-prfix=PATCH v2 RFC 0/6] Update tests/qemu-iotests failing cases for the s390 platform

2015-01-28 Thread Xiao Guang Chen
From: Xiao Guang Chen v2: 1. Drop the patches for test 039 for it has been fixed in upstream. 2. Integrate patches for test 071, 067 and 087. 3. Keep the other patches. v1: 1. updated the test suite to be default-machine-type-aware, from the previous platform-aware 2. created a new patch "