Re: [Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-22 Thread Michael Roth
On Wed, Feb 22, 2012 at 05:44:37PM -0200, Luiz Capitulino wrote: > On Wed, 22 Feb 2012 10:54:45 -0600 > Michael Roth wrote: > > > But I'm not suggesting we make query-balloon asynchronous. > > > > I'm suggesting be re-enable it as a synchronous interface by having it > > immediately return the l

Re: [Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-22 Thread Luiz Capitulino
On Wed, 22 Feb 2012 10:54:45 -0600 Michael Roth wrote: > But I'm not suggesting we make query-balloon asynchronous. > > I'm suggesting be re-enable it as a synchronous interface by having it > immediately return the latest-available results from a timer-driven > query mechanism that tucks away t

Re: [Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-22 Thread Michael Roth
On Wed, Feb 22, 2012 at 02:09:35PM -0200, Luiz Capitulino wrote: > On Wed, 22 Feb 2012 09:05:22 -0600 > Michael Roth wrote: > > > On Wed, Feb 22, 2012 at 10:48:13AM -0200, Luiz Capitulino wrote: > > > On Fri, 17 Feb 2012 15:51:33 -0600 > > > Michael Roth wrote: > > > > > > > On Fri, Feb 17, 201

Re: [Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-22 Thread Luiz Capitulino
On Wed, 22 Feb 2012 09:05:22 -0600 Michael Roth wrote: > On Wed, Feb 22, 2012 at 10:48:13AM -0200, Luiz Capitulino wrote: > > On Fri, 17 Feb 2012 15:51:33 -0600 > > Michael Roth wrote: > > > > > On Fri, Feb 17, 2012 at 03:16:22PM -0200, Luiz Capitulino wrote: > > > > On Fri, 17 Feb 2012 10:55:4

Re: [Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-22 Thread Michael Roth
On Wed, Feb 22, 2012 at 10:48:13AM -0200, Luiz Capitulino wrote: > On Fri, 17 Feb 2012 15:51:33 -0600 > Michael Roth wrote: > > > On Fri, Feb 17, 2012 at 03:16:22PM -0200, Luiz Capitulino wrote: > > > On Fri, 17 Feb 2012 10:55:41 -0600 > > > Anthony Liguori wrote: > > > > > > > On 02/08/2012 02

Re: [Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-22 Thread Luiz Capitulino
On Fri, 17 Feb 2012 15:51:33 -0600 Michael Roth wrote: > On Fri, Feb 17, 2012 at 03:16:22PM -0200, Luiz Capitulino wrote: > > On Fri, 17 Feb 2012 10:55:41 -0600 > > Anthony Liguori wrote: > > > > > On 02/08/2012 02:30 PM, Luiz Capitulino wrote: > > > > This commit adds a QMP API for the guest p

Re: [Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-17 Thread Michael Roth
On Fri, Feb 17, 2012 at 03:16:22PM -0200, Luiz Capitulino wrote: > On Fri, 17 Feb 2012 10:55:41 -0600 > Anthony Liguori wrote: > > > On 02/08/2012 02:30 PM, Luiz Capitulino wrote: > > > This commit adds a QMP API for the guest provided memory statistics > > > (long disabled by commit 07b0403dfc2b

Re: [Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-17 Thread Michael Roth
On Fri, Feb 17, 2012 at 02:07:47PM -0600, Anthony Liguori wrote: > On 02/17/2012 11:09 AM, Michael Roth wrote: > >On Fri, Feb 17, 2012 at 10:55:41AM -0600, Anthony Liguori wrote: > >>On 02/08/2012 02:30 PM, Luiz Capitulino wrote: > >>>This commit adds a QMP API for the guest provided memory statist

Re: [Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-17 Thread Anthony Liguori
On 02/17/2012 11:09 AM, Michael Roth wrote: On Fri, Feb 17, 2012 at 10:55:41AM -0600, Anthony Liguori wrote: On 02/08/2012 02:30 PM, Luiz Capitulino wrote: This commit adds a QMP API for the guest provided memory statistics (long disabled by commit 07b0403dfc2b2ac179ae5b48105096cc2d03375a). Th

Re: [Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-17 Thread Luiz Capitulino
On Fri, 17 Feb 2012 10:55:41 -0600 Anthony Liguori wrote: > On 02/08/2012 02:30 PM, Luiz Capitulino wrote: > > This commit adds a QMP API for the guest provided memory statistics > > (long disabled by commit 07b0403dfc2b2ac179ae5b48105096cc2d03375a). > > > > The approach taken by the original com

Re: [Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-17 Thread Michael Roth
On Fri, Feb 17, 2012 at 10:55:41AM -0600, Anthony Liguori wrote: > On 02/08/2012 02:30 PM, Luiz Capitulino wrote: > >This commit adds a QMP API for the guest provided memory statistics > >(long disabled by commit 07b0403dfc2b2ac179ae5b48105096cc2d03375a). > > > >The approach taken by the original c

Re: [Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-17 Thread Anthony Liguori
On 02/08/2012 02:30 PM, Luiz Capitulino wrote: This commit adds a QMP API for the guest provided memory statistics (long disabled by commit 07b0403dfc2b2ac179ae5b48105096cc2d03375a). The approach taken by the original commit (625a5befc2e3200b396594f002218d235e375da5) was to extend the query-ball

Re: [Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-10 Thread Luiz Capitulino
On Thu, 9 Feb 2012 13:26:40 -0600 Adam Litke wrote: > On Wed, Feb 08, 2012 at 06:30:40PM -0200, Luiz Capitulino wrote: > > This commit adds a QMP API for the guest provided memory statistics > > (long disabled by commit 07b0403dfc2b2ac179ae5b48105096cc2d03375a). > > > > The approach taken by the

Re: [Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-09 Thread Adam Litke
On Wed, Feb 08, 2012 at 06:30:40PM -0200, Luiz Capitulino wrote: > This commit adds a QMP API for the guest provided memory statistics > (long disabled by commit 07b0403dfc2b2ac179ae5b48105096cc2d03375a). > > The approach taken by the original commit > (625a5befc2e3200b396594f002218d235e375da5) wa

[Qemu-devel] [PATCH 6/6] qmp: add balloon-get-memory-stats & event

2012-02-08 Thread Luiz Capitulino
This commit adds a QMP API for the guest provided memory statistics (long disabled by commit 07b0403dfc2b2ac179ae5b48105096cc2d03375a). The approach taken by the original commit (625a5befc2e3200b396594f002218d235e375da5) was to extend the query-balloon command. It introduced a severe bug though: q