From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YL5lB-00084q-VC for qemu-devel@nongnu.org; Tue, 10 Feb 2015 03:01:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YL5l4-0007Uq-Up for qemu-devel@nongnu.org; Tue, 10 Feb 2015 03:01:29 -0500 Received: from e23smtp07.au.ibm.com ([202.81.31.140]:43049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YL5l4-0007UP-Am for qemu-devel@nongnu.org; Tue, 10 Feb 2015 03:01:22 -0500 Received: from /spool/local by e23smtp07.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 10 Feb 2015 18:01:17 +1000 Received: from d23relay06.au.ibm.com (d23relay06.au.ibm.com [9.185.63.219]) by d23dlp03.au.ibm.com (Postfix) with ESMTP id 0E217357804C for ; Tue, 10 Feb 2015 19:01:15 +1100 (EST) Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay06.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t1A816VE4391000 for ; Tue, 10 Feb 2015 19:01:15 +1100 Received: from d23av02.au.ibm.com (localhost [127.0.0.1]) by d23av02.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t1A80fLH017848 for ; Tue, 10 Feb 2015 19:00:41 +1100 From: Xiao Guang Chen Date: Tue, 10 Feb 2015 15:59:58 +0800 Message-Id: <1423555201-32429-3-git-send-email-chenxg@linux.vnet.ibm.com> In-Reply-To: <1423555201-32429-1-git-send-email-chenxg@linux.vnet.ibm.com> References: <1423555201-32429-1-git-send-email-chenxg@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH RFC v5 2/5] qemu-iotests: run qemu with -nodefaults and fix 067, 071, 087 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, armbru@redhat.com, mimu@linux.vnet.ibm.com, mreitz@redhat.com 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 and 087 need to be updated to accommodate this change. Use virtio-blk instead of virtio-blk-pci as the device driver for test case 067. For virtio-blk-pci is the same with virtio-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/071.out | 4 - tests/qemu-iotests/087.out | 12 -- tests/qemu-iotests/common | 1 + tests/qemu-iotests/common.config | 2 +- tests/qemu-iotests/common.qemu | 2 +- 7 files changed, 8 insertions(+), 287 deletions(-) diff --git a/tests/qemu-iotests/067 b/tests/qemu-iotests/067 index 0508c69..d979645 100755 --- a/tests/qemu-iotests/067 +++ b/tests/qemu-iotests/067 @@ -57,7 +57,7 @@ echo echo === -drive/-device and device_del === echo -run_qemu -drive file=$TEST_IMG,format=$IMGFMT,if=none,id=disk -device virtio-blk-pci,drive=disk,id=virtio0 <"${fifo_out}" \ 2>&1 \ <"${fifo_in}" & -- 1.9.1