Received: from eggs.gnu.org ([2001:4830:134:3::10]:43453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0V7e-0005W3-6p for qemu-devel@nongnu.org; Wed, 11 May 2016 10:28:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0V7V-00080w-75 for qemu-devel@nongnu.org; Wed, 11 May 2016 10:28:17 -0400 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:35940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0V7U-00080k-PK for qemu-devel@nongnu.org; Wed, 11 May 2016 10:28:13 -0400 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 11 May 2016 15:28:09 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 5EAEC2190066 for ; Wed, 11 May 2016 15:27:41 +0100 (BST) Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u4BES5ah66322524 for ; Wed, 11 May 2016 14:28:05 GMT Received: from d06av11.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u4BERv25018668 for ; Wed, 11 May 2016 08:27:57 -0600 Date: Wed, 11 May 2016 16:27:55 +0200 From: Cornelia Huck Message-ID: <20160511162755.791ad1f7.cornelia.huck@de.ibm.com> In-Reply-To: <57333879.3040509@openvz.org> References: <1462960324-4655-1-git-send-email-den@openvz.org> <20160511123419.0e96ee16.cornelia.huck@de.ibm.com> <57331251.1080301@openvz.org> <20160511140243.7d0bd86d.cornelia.huck@de.ibm.com> <57333879.3040509@openvz.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC for 2.7 0/2] virtio: show guest features in 'info qtree' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Denis V. Lunev" Cc: qemu-devel@nongnu.org, "Michael S. Tsirkin" On Wed, 11 May 2016 16:49:45 +0300 "Denis V. Lunev" wrote: > Do you know any reasonable way to enumerate all VirtIO devices? > There is no need for this in the older code. We will need to enumerate > all VirtIO devices within 'info virtio' command. Hum. No nice way, I think, as there's no global list. An alternative would be to require a qom path and check whether the specified device has a virtio-bus as child.