Received: from eggs.gnu.org ([2001:4830:134:3::10]:41894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUxm5-0001se-LE for qemu-devel@nongnu.org; Wed, 03 Aug 2016 11:08:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUxm0-0003vN-CR for qemu-devel@nongnu.org; Wed, 03 Aug 2016 11:08:00 -0400 References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-7-git-send-email-kwolf@redhat.com> From: Max Reitz Message-ID: Date: Wed, 3 Aug 2016 17:07:41 +0200 MIME-Version: 1.0 In-Reply-To: <1470223294-3870-7-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="D3orALk2EJfPED3uGlGXFuVtNTBQf4gWR" Subject: Re: [Qemu-devel] [PATCH v5 06/11] block: Accept node-name for blockdev-snapshot-internal-sync List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: eblake@redhat.com, berto@igalia.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --D3orALk2EJfPED3uGlGXFuVtNTBQf4gWR From: Max Reitz To: Kevin Wolf , qemu-block@nongnu.org Cc: eblake@redhat.com, berto@igalia.com, qemu-devel@nongnu.org Message-ID: Subject: Re: [PATCH v5 06/11] block: Accept node-name for blockdev-snapshot-internal-sync References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-7-git-send-email-kwolf@redhat.com> In-Reply-To: <1470223294-3870-7-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 03.08.2016 13:21, Kevin Wolf wrote: > In order to remove the necessity to use BlockBackend names in the > external API, we want to allow node-names everywhere. This converts > blockdev-snapshot-internal-sync to accept a node-name without lifting > the restriction that we're operating at a root node. >=20 > In case of an invalid device name, the command returns the GenericError= > error class now instead of DeviceNotFound, because this is what > qmp_get_root_bs() returns. >=20 > Signed-off-by: Kevin Wolf > Reviewed-by: Eric Blake > Reviewed-by: Alberto Garcia > --- > blockdev.c | 15 +++------------ > qapi/block.json | 5 +++-- > qmp-commands.hx | 6 ++++-- > tests/qemu-iotests/057 | 2 +- > 4 files changed, 11 insertions(+), 17 deletions(-) Reviewed-by: Max Reitz --D3orALk2EJfPED3uGlGXFuVtNTBQf4gWR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEvBAEBCAAZBQJXogi9EhxtcmVpdHpAcmVkaGF0LmNvbQAKCRA7sUIC6Disrcxg B/9ad4rx5xtqSHcpWuAPa01R9cdA0AVgYdUqXAwqINlPaVZx5GBUhutwstGtvl3w pr2qRk8wDOc4ZzIwyBlz5KjfFLixVrmEeSN48HnxymoCmD1Ms8K2rEAPcF4P1pL+ fWx9kpZBFYXNEomy0/t2RtBRe2Oo6KVeX2LEAPvj7Vxh+lQL0Pv0p0n16yV3F0mB Y10ittIqpgzl5Z0iq/x7cXjg1F61iJrF6JOhQmjdRB+Ta0n7Xs8TcHC3gnxLQh2q CgqxqR6/8+423MuhuqlMMLSp6GnWPt58TAX/7UdttggxsU+FquzX14Tn1UtE4yUz QAiGK/kfSGSqss/ckNUcpGne =zXv3 -----END PGP SIGNATURE----- --D3orALk2EJfPED3uGlGXFuVtNTBQf4gWR--