Received: from eggs.gnu.org ([2001:4830:134:3::10]:48808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0RTM-0000JK-Ok for qemu-devel@nongnu.org; Wed, 11 May 2016 06:34:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0RTI-0003Za-DV for qemu-devel@nongnu.org; Wed, 11 May 2016 06:34:31 -0400 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:59399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0RTI-0003Ym-2Z for qemu-devel@nongnu.org; Wed, 11 May 2016 06:34:28 -0400 Received: from localhost by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 11 May 2016 11:34:24 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 837AA219005E for ; Wed, 11 May 2016 11:33:57 +0100 (BST) Received: from d06av10.portsmouth.uk.ibm.com (d06av10.portsmouth.uk.ibm.com [9.149.37.251]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u4BAYLrW10486118 for ; Wed, 11 May 2016 10:34:21 GMT Received: from d06av10.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av10.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u4B9YOLO005545 for ; Wed, 11 May 2016 03:34:24 -0600 Date: Wed, 11 May 2016 12:34:19 +0200 From: Cornelia Huck Message-ID: <20160511123419.0e96ee16.cornelia.huck@de.ibm.com> In-Reply-To: <1462960324-4655-1-git-send-email-den@openvz.org> References: <1462960324-4655-1-git-send-email-den@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 12:52:02 +0300 "Denis V. Lunev" wrote: > It is very convinient and useful for debug purpose to expose the set of > features negotiated with guest. The patch exports those features via > read-only bit properties. I agree that it would be very helpful to be able to access the negotiated features via the monitor, but I disagree with your approach, especially the need to expose every single feature bit via a property. What about a command like 'info virtio' instead? This would allow us to dump not only guest features, but the host features initially offered alongside them and things like the status byte (so you can actually check whether feature negotiation was successful). Maybe similar to 'info block'.