Received: from eggs.gnu.org ([2001:4830:134:3::10]:32811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYxEa-0000sE-I3 for qemu-devel@nongnu.org; Thu, 25 Feb 2016 09:49:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYxEW-0004cv-H5 for qemu-devel@nongnu.org; Thu, 25 Feb 2016 09:49:40 -0500 Received: from mx2.parallels.com ([199.115.105.18]:55664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYxEW-0004cr-Ag for qemu-devel@nongnu.org; Thu, 25 Feb 2016 09:49:36 -0500 Date: Thu, 25 Feb 2016 17:49:21 +0300 From: Roman Kagan Message-ID: <20160225144920.GD26102@rkaganb.sw.ru> References: <56CE962B.40809@openvz.org> <87si0hp4bt.fsf@blackfin.pond.sub.org> <20160225085417.GA9708@redhat.com> <20160225093020.GA26102@rkaganb.sw.ru> <20160225114706-mutt-send-email-mst@redhat.com> <87mvqpm5i4.fsf@blackfin.pond.sub.org> <20160225111737.GB26102@rkaganb.sw.ru> <87bn75knn3.fsf@blackfin.pond.sub.org> <20160225124455.GC26102@rkaganb.sw.ru> <87vb5cj2ym.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <87vb5cj2ym.fsf@blackfin.pond.sub.org> Subject: Re: [Qemu-devel] [PATCH 1/2] virtio-balloon: export all balloon statistics List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: "Denis V. Lunev" , qemu-devel@nongnu.org, Igor Redko , "Michael S. Tsirkin" On Thu, Feb 25, 2016 at 03:10:09PM +0100, Markus Armbruster wrote: > Roman Kagan writes: > Now I'm confused. According to virtio-balloon-stats.txt, they're > exposed as virtio-balloon properties in QOM. I don't understand how > these are related to query-balloon, nor what a new monitor command > query-balloon-raw would be good for. Oops, sorry, you're right, I mixed it all up: query-balloon only reports how big the balloon is currently inflated, while the stats are indeed exposed as object properties. So query-balloon-raw makes no sense. > You seem to propose adding stats unknown to QEMU with numeric names. If > there's an authority mapping numbers to meaning, the numbers so mapped > would be suitable as stable interface. However, for the numbers QEMU > knows to be mapped, it surely knows names, too, so limiting the thing to > such numbers would be pointless. > > The only way you can make numbers QEMU doesn't know a stable interface > is declaring the interface a mere transport between guest and management > application. But that's what it currently is. Roman.