Re: [Qemu-devel] [PATCH v2 2/3] Add event notification for guest balloon changes

2012-05-22 Thread Amit Shah
On (Mon) 21 May 2012 [20:50:55], Daniel P. Berrange wrote: > On Tue, May 22, 2012 at 01:14:59AM +0530, Amit Shah wrote: > > On (Mon) 21 May 2012 [17:59:52], Daniel P. Berrange wrote: > > > From: "Daniel P. Berrange" > > > > > > After setting a balloon target value, applications have to > > > cont

Re: [Qemu-devel] [PATCH v2 2/3] Add event notification for guest balloon changes

2012-05-21 Thread Daniel P. Berrange
On Tue, May 22, 2012 at 01:14:59AM +0530, Amit Shah wrote: > On (Mon) 21 May 2012 [17:59:52], Daniel P. Berrange wrote: > > From: "Daniel P. Berrange" > > > > After setting a balloon target value, applications have to > > continually poll 'query-balloon' to determine whether the > > guest has rea

Re: [Qemu-devel] [PATCH v2 2/3] Add event notification for guest balloon changes

2012-05-21 Thread Amit Shah
On (Mon) 21 May 2012 [17:59:52], Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > After setting a balloon target value, applications have to > continually poll 'query-balloon' to determine whether the > guest has reacted to this request. The virtio-balloon backend > knows exactly when t

[Qemu-devel] [PATCH v2 2/3] Add event notification for guest balloon changes

2012-05-21 Thread Daniel P. Berrange
From: "Daniel P. Berrange" After setting a balloon target value, applications have to continually poll 'query-balloon' to determine whether the guest has reacted to this request. The virtio-balloon backend knows exactly when the guest has reacted though, and thus it is possible to emit a JSON eve