Re: [libvirt] [PATCHv2 1/2] Define public API for receiving guest memory balloon events

2012-07-14 Thread Guannan Ren
On 07/13/2012 10:06 PM, Eric Blake wrote: On 07/13/2012 03:05 AM, Guannan Ren wrote: From: "Daniel P. Berrange" When the guest changes its memory balloon applications may want to know what the new value is, without having to periodically poll on XML / domain info. Introduce a "balloon change"

Re: [libvirt] [PATCHv2 1/2] Define public API for receiving guest memory balloon events

2012-07-13 Thread Eric Blake
On 07/13/2012 03:05 AM, Guannan Ren wrote: > From: "Daniel P. Berrange" > > When the guest changes its memory balloon applications may want > to know what the new value is, without having to periodically > poll on XML / domain info. Introduce a "balloon change" event > to let apps see this > > *

[libvirt] [PATCHv2 1/2] Define public API for receiving guest memory balloon events

2012-07-13 Thread Guannan Ren
From: "Daniel P. Berrange" When the guest changes its memory balloon applications may want to know what the new value is, without having to periodically poll on XML / domain info. Introduce a "balloon change" event to let apps see this * include/libvirt/libvirt.h.in: Define the virConnectDomai