From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMEsg-0002AH-Qu for qemu-devel@nongnu.org; Thu, 21 Jan 2016 08:02:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMEsf-0007BF-Qy for qemu-devel@nongnu.org; Thu, 21 Jan 2016 08:02:30 -0500 Date: Thu, 21 Jan 2016 21:02:14 +0800 From: Fam Zheng Message-ID: <20160121130214.GE31470@ad.usersys.redhat.com> References: <1453311539-1193-1-git-send-email-berrange@redhat.com> <1453311539-1193-16-git-send-email-berrange@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1453311539-1193-16-git-send-email-berrange@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 15/17] block: rip out all traces of password prompting List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: Kevin Wolf , qemu-devel@nongnu.org, qemu-block@nongnu.org On Wed, 01/20 17:38, Daniel P. Berrange wrote: > diff --git a/tests/qemu-iotests/087 b/tests/qemu-iotests/087 > index 3386668..065d9af 100755 > --- a/tests/qemu-iotests/087 > +++ b/tests/qemu-iotests/087 > @@ -201,6 +201,7 @@ run_qemu -S < "options": { > "driver": "$IMGFMT", > "id": "disk", > + "key-secret": "sec0", > "file": { > "driver": "file", > "filename": "$TEST_IMG" > @@ -228,6 +229,7 @@ run_qemu < "options": { > "driver": "$IMGFMT", > "id": "disk", > + "key-secret": "sec0", > "file": { > "driver": "file", > "filename": "$TEST_IMG" > diff --git a/tests/qemu-iotests/087.out b/tests/qemu-iotests/087.out > index 5fc4823..6582dda 100644 > --- a/tests/qemu-iotests/087.out > +++ b/tests/qemu-iotests/087.out > @@ -49,7 +49,7 @@ QMP_VERSION > Encrypted images are deprecated > Support for them will be removed in a future release. > You can use 'qemu-img convert' to convert your image to an unencrypted one. > -{"error": {"class": "GenericError", "desc": "blockdev-add doesn't support encrypted devices"}} > +{"return": {}} > {"return": {}} > {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"} > > @@ -60,7 +60,7 @@ QMP_VERSION > Encrypted images are deprecated > Support for them will be removed in a future release. > You can use 'qemu-img convert' to convert your image to an unencrypted one. > -{"error": {"class": "GenericError", "desc": "Guest must be stopped for opening of encrypted image"}} > +{"return": {}} > {"return": {}} > {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"} > > diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc > index d9913f8..da78459 100644 > --- a/tests/qemu-iotests/common.rc > +++ b/tests/qemu-iotests/common.rc > @@ -135,9 +135,9 @@ _make_test_img() > # XXX(hch): have global image options? > ( > if [ $use_backing = 1 ]; then > - $QEMU_IMG create -f $IMGFMT $extra_img_options -b "$backing_file" "$img_name" $image_size 2>&1 > + $QEMU_IMG create $EXTRA_IMG_ARGS -f $IMGFMT $extra_img_options -b "$backing_file" "$img_name" $image_size 2>&1 > else > - $QEMU_IMG create -f $IMGFMT $extra_img_options "$img_name" $image_size 2>&1 > + $QEMU_IMG create $EXTRA_IMG_ARGS -f $IMGFMT $extra_img_options "$img_name" $image_size 2>&1 > fi > ) | _filter_img_create > Does this change belong to a separate patch? Fam