From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSx7u-0007ow-Ex for qemu-devel@nongnu.org; Thu, 07 Jan 2010 13:30:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSx7p-0007ha-Op for qemu-devel@nongnu.org; Thu, 07 Jan 2010 13:30:30 -0500 Received: from [199.232.76.173] (port=51192 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSx7p-0007hK-KQ for qemu-devel@nongnu.org; Thu, 07 Jan 2010 13:30:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:23093) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSx7p-0005YF-5X for qemu-devel@nongnu.org; Thu, 07 Jan 2010 13:30:25 -0500 Date: Thu, 7 Jan 2010 16:30:14 -0200 From: Luiz Capitulino Subject: Re: [Qemu-devel] Re: [RFD] virtio: Add memory statistics reporting to the balloon driver Message-ID: <20100107163014.47662b8c@doriath> In-Reply-To: <20100107155830.71fc3f76@doriath> References: <1262711318.10698.104.camel@aglitke> <4B45F9CA.7050903@codemonkey.ws> <20100107154918.GB19168@redhat.com> <1262881658.2767.12.camel@aglitke> <4B460E55.9090800@redhat.com> <4B461233.2020808@codemonkey.ws> <20100107155830.71fc3f76@doriath> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel , Avi Kivity , Adam Litke On Thu, 7 Jan 2010 15:58:30 -0200 Luiz Capitulino wrote: > I like Daniel's idea too. In practice 'refresh-balloon' is going to > be Anthony's idea #1 for the QMP case, which seems the right way to > do it with QMP. Hm, something that has just occurred to me: it's easy to have async messages in the user Monitor, we could add a new type of user print callback called async_print. This new callback would be called by the Monitor when the async message API is called but we are in user mode. This is really today's user_print, but user data is printed asynchronously.