Received: from eggs.gnu.org ([2001:4830:134:3::10]:41834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQvZP-00059l-QO for qemu-devel@nongnu.org; Fri, 30 Jun 2017 09:02:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQvZP-000128-2a for qemu-devel@nongnu.org; Fri, 30 Jun 2017 09:02:47 -0400 From: Alberto Garcia In-Reply-To: <20170627163145.GC4792@noname.redhat.com> References: <20170627163145.GC4792@noname.redhat.com> Date: Fri, 30 Jun 2017 15:01:57 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [Qemu-block] [RFC] QMP design: Fixing query-block and friends List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: armbru@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, mreitz@redhat.com On Tue 27 Jun 2017 06:31:45 PM CEST, Kevin Wolf wrote: > * Speaking of recursion: ImageInfo recursively includes information > about all images in the backing chain. This is what makes the output > of query-named-block-nodes so redundant. It is also inconsistent > because the runtime information (BlockInfo/BlockDeviceInfo) isn't > recursive. I've also been told of cases where a query-block command on a VM with a very large amount of images in all backing chains would slow down the guest because of this recursion. I haven't been able to reproduce this problem myself, but being able to see only the devices seen by the guest (as opposed to the complete graph) seems like a good idea. Berto