From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIwLN-0007qP-Dw for qemu-devel@nongnu.org; Wed, 04 Feb 2015 04:34:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIwLC-0003tG-QJ for qemu-devel@nongnu.org; Wed, 04 Feb 2015 04:33:53 -0500 Received: from e23smtp09.au.ibm.com ([202.81.31.142]:56237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIwLC-0003sW-6a for qemu-devel@nongnu.org; Wed, 04 Feb 2015 04:33:46 -0500 Received: from /spool/local by e23smtp09.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 4 Feb 2015 19:33:44 +1000 Received: from d23relay06.au.ibm.com (d23relay06.au.ibm.com [9.185.63.219]) by d23dlp03.au.ibm.com (Postfix) with ESMTP id 73A49357804F for ; Wed, 4 Feb 2015 20:33:42 +1100 (EST) Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay06.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t149XYHU52297878 for ; Wed, 4 Feb 2015 20:33:42 +1100 Received: from d23av03.au.ibm.com (localhost [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t149X9BW010830 for ; Wed, 4 Feb 2015 20:33:09 +1100 From: Xiao Guang Chen Date: Wed, 4 Feb 2015 17:32:29 +0800 Message-Id: <1423042352-361-4-git-send-email-chenxg@linux.vnet.ibm.com> In-Reply-To: <1423042352-361-1-git-send-email-chenxg@linux.vnet.ibm.com> References: <1423042352-361-1-git-send-email-chenxg@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH RFC v3 3/6] qemu-iotests: run qemu with -nodefaults 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 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: Mao Chuan Li --- tests/qemu-iotests/common | 1 + tests/qemu-iotests/common.config | 2 +- tests/qemu-iotests/common.qemu | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/qemu-iotests/common b/tests/qemu-iotests/common index 9e12bec..f3fa6dd 100644 --- a/tests/qemu-iotests/common +++ b/tests/qemu-iotests/common @@ -51,6 +51,7 @@ export IMGOPTS="" export CACHEMODE="writeback" export QEMU_IO_OPTIONS="" export CACHEMODE_IS_DEFAULT=true +export QEMU_OPTIONS="-nodefaults" for r do diff --git a/tests/qemu-iotests/common.config b/tests/qemu-iotests/common.config index 73e25da..3025921 100644 --- a/tests/qemu-iotests/common.config +++ b/tests/qemu-iotests/common.config @@ -103,7 +103,7 @@ if [ -z "$QEMU_NBD_PROG" ]; then export QEMU_NBD_PROG="`set_prog_path qemu-nbd`" fi -export QEMU=$QEMU_PROG +export QEMU="$QEMU_PROG $QEMU_OPTIONS" export QEMU_IMG=$QEMU_IMG_PROG export QEMU_IO="$QEMU_IO_PROG $QEMU_IO_OPTIONS" export QEMU_NBD=$QEMU_NBD_PROG diff --git a/tests/qemu-iotests/common.qemu b/tests/qemu-iotests/common.qemu index ee7ebb4..ea27536 100644 --- a/tests/qemu-iotests/common.qemu +++ b/tests/qemu-iotests/common.qemu @@ -153,7 +153,7 @@ function _launch_qemu() mkfifo "${fifo_out}" mkfifo "${fifo_in}" - "${QEMU}" -nographic -serial none ${comm} -machine accel=qtest "${@}" 2>&1 \ + ${QEMU} -nographic -serial none ${comm} -machine accel=qtest "${@}" 2>&1 \ >"${fifo_out}" \ <"${fifo_in}" & QEMU_PID[${_QEMU_HANDLE}]=$! -- 1.9.1