From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLYkh-00082b-7g for qemu-devel@nongnu.org; Wed, 11 Feb 2015 09:58:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLYke-0002sV-2Y for qemu-devel@nongnu.org; Wed, 11 Feb 2015 09:58:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLYkd-0002sJ-R3 for qemu-devel@nongnu.org; Wed, 11 Feb 2015 09:58:51 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1BEwolO011311 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 11 Feb 2015 09:58:51 -0500 From: Max Reitz Date: Wed, 11 Feb 2015 09:58:45 -0500 Message-Id: <1423666727-20777-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] qemu-img: Fix qemu-img convert -n List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi , Max Reitz Even when specifying -n to suppress image creation with qemu-img convert, that function tried to verify that the target protocol and driver are suited for image creation. This verification should be suppressed, too (which is what the first patch in this series does, the second one adds a test for it). Max Reitz (2): qemu-img: Fix qemu-img convert -n iotests: Add test for qemu-img convert to NBD qemu-img.c | 50 +++++++++++++++++++------------------ tests/qemu-iotests/123 | 62 ++++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/123.out | 9 +++++++ tests/qemu-iotests/group | 1 + 4 files changed, 98 insertions(+), 24 deletions(-) create mode 100755 tests/qemu-iotests/123 create mode 100644 tests/qemu-iotests/123.out -- 2.1.0