Received: from eggs.gnu.org ([2001:4830:134:3::10]:37818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUvgk-00048W-A8 for qemu-devel@nongnu.org; Wed, 03 Aug 2016 08:54:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUvgj-0005b9-EP for qemu-devel@nongnu.org; Wed, 03 Aug 2016 08:54:22 -0400 References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-3-git-send-email-kwolf@redhat.com> From: Max Reitz Message-ID: <16100951-e95b-1de0-8725-846cd1d725c3@redhat.com> Date: Wed, 3 Aug 2016 14:54:13 +0200 MIME-Version: 1.0 In-Reply-To: <1470223294-3870-3-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="darKS13AKCKKrHSesHJ7nc5TxG28hEJc6" Subject: Re: [Qemu-devel] [PATCH v5 02/11] block: Accept node-name for block-commit 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) --darKS13AKCKKrHSesHJ7nc5TxG28hEJc6 From: Max Reitz To: Kevin Wolf , qemu-block@nongnu.org Cc: eblake@redhat.com, berto@igalia.com, qemu-devel@nongnu.org Message-ID: <16100951-e95b-1de0-8725-846cd1d725c3@redhat.com> Subject: Re: [PATCH v5 02/11] block: Accept node-name for block-commit References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-3-git-send-email-kwolf@redhat.com> In-Reply-To: <1470223294-3870-3-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 > block-commit to accept a node-name without lifting the restriction that= > we're operating at a root node. >=20 > As libvirt makes use of the DeviceNotFound error class, we must add > explicit code to retain this behaviour because qmp_get_root_bs() only > returns GenericErrors. >=20 > Signed-off-by: Kevin Wolf > Reviewed-by: Eric Blake > --- > blockdev.c | 23 +++++++++++------------ > qapi/block-core.json | 2 +- > qmp-commands.hx | 2 +- > 3 files changed, 13 insertions(+), 14 deletions(-) Reviewed-by: Max Reitz --darKS13AKCKKrHSesHJ7nc5TxG28hEJc6 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 iQEvBAEBCAAZBQJXoel1EhxtcmVpdHpAcmVkaGF0LmNvbQAKCRA7sUIC6DisrfBL B/9xqx0glvW2JtGRyhPVsrOzqyZQq4yI+ZTdWVRUHGHhfB1UILGB8mOnp0Fgc4tw 7KTXT6Ly30IYzGITdt7BIo+KnfSXJfSZokeOda7aLZ7GBZZOOt4GD7tTjSHRNw/W iQliwTUWKnUftZmlsCu2JAceS+3HqNoH3KbMtN02fmAH+OZ4H5Sk7zxIjo94Y+Lq LASj29gUbgaVarKNRnz8leVLagYj1lTigL3YSlohUUuMRIb0iuekw9yk0dWJTC4o H5SprvmqCN+xv9HDYApMD4PlrugBEIRbUYTZzHuzfFDJnLqy2lVSKtLYwnW2wm3y W7Rugfb8AQe23d+I4Chh+l+O =fQVY -----END PGP SIGNATURE----- --darKS13AKCKKrHSesHJ7nc5TxG28hEJc6--