Received: from eggs.gnu.org ([2001:4830:134:3::10]:33728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUvLZ-0008A0-Jg for qemu-devel@nongnu.org; Wed, 03 Aug 2016 08:32:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUvLX-0007hf-OC for qemu-devel@nongnu.org; Wed, 03 Aug 2016 08:32:28 -0400 From: Alberto Garcia In-Reply-To: <1470223294-3870-3-git-send-email-kwolf@redhat.com> References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-3-git-send-email-kwolf@redhat.com> Date: Wed, 03 Aug 2016 14:32:20 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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: mreitz@redhat.com, eblake@redhat.com, qemu-devel@nongnu.org On Wed 03 Aug 2016 01:21:25 PM CEST, 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. > > 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. > > Signed-off-by: Kevin Wolf > Reviewed-by: Eric Blake Reviewed-by: Alberto Garcia Berto