Received: from eggs.gnu.org ([2001:4830:134:3::10]:42189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUxnQ-0003Gk-BL for qemu-devel@nongnu.org; Wed, 03 Aug 2016 11:09:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUxnM-0004P0-3B for qemu-devel@nongnu.org; Wed, 03 Aug 2016 11:09:24 -0400 References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-8-git-send-email-kwolf@redhat.com> From: Max Reitz Message-ID: Date: Wed, 3 Aug 2016 17:09:07 +0200 MIME-Version: 1.0 In-Reply-To: <1470223294-3870-8-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mBjv0qLiEtRiW47hMljqKVDX07Wgv9d1M" Subject: Re: [Qemu-devel] [PATCH v5 07/11] block: Accept node-name for change-backing-file 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) --mBjv0qLiEtRiW47hMljqKVDX07Wgv9d1M 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 07/11] block: Accept node-name for change-backing-file References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-8-git-send-email-kwolf@redhat.com> In-Reply-To: <1470223294-3870-8-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 > change-backing-file 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-core.json | 3 ++- > qmp-commands.hx | 3 ++- > 3 files changed, 7 insertions(+), 14 deletions(-) Reviewed-by: Max Reitz --mBjv0qLiEtRiW47hMljqKVDX07Wgv9d1M 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 iQEvBAEBCAAZBQJXogkTEhxtcmVpdHpAcmVkaGF0LmNvbQAKCRA7sUIC6DisrY0i CACgcZGTI+oyVXmqx+STdAJgSeyhyaGO/+uztzXDnLPZoB9LDIU/Tf4BxL4SNgbH jz3GW4CaUIvZtSRyv7/7NHX02mrvkpJtZlhIFpj+Js5CR7Au7e/p8o2Bo7EhO5it I6e3VkgAgXrytQCQF6eQWavmqcBkw1oZfE3PD4RORlw1MpFsxhT4cPlb8XUMvN28 RQN5ThF9wzMuTpl1yEDZhDWgLCAZpSpe6C64X+aXTFxLOldwXKe6wxLSoHAUDYFV UfN6DIsq53DAJfSBfQa9vUuOz0cotNW6+zN30fwAhDxPblu3pLBQhZYw49mgVUcf UIqW/kxnlbjZQhsp0xhlWN40 =QkDs -----END PGP SIGNATURE----- --mBjv0qLiEtRiW47hMljqKVDX07Wgv9d1M--