Re: [PATCH 2/2] virtio_balloon: export 'available' memory to balloon statistics

2016-02-23 Thread Denis V. Lunev
On 02/23/2016 06:53 PM, Michael S. Tsirkin wrote: On Tue, Feb 23, 2016 at 06:26:47PM +0300, Denis V. Lunev wrote: On 02/23/2016 06:10 PM, Michael S. Tsirkin wrote: On Tue, Feb 16, 2016 at 06:50:52PM +0300, Denis V. Lunev wrote: From: Igor Redko Add a new field, VIRTIO_BALLOON_S_AVAIL, to vir

Re: [PATCH 2/2] virtio_balloon: export 'available' memory to balloon statistics

2016-02-23 Thread Michael S. Tsirkin
On Tue, Feb 23, 2016 at 06:26:47PM +0300, Denis V. Lunev wrote: > On 02/23/2016 06:10 PM, Michael S. Tsirkin wrote: > >On Tue, Feb 16, 2016 at 06:50:52PM +0300, Denis V. Lunev wrote: > >>From: Igor Redko > >> > >>Add a new field, VIRTIO_BALLOON_S_AVAIL, to virtio_balloon memory > >>statistics prot

Re: [PATCH 2/2] virtio_balloon: export 'available' memory to balloon statistics

2016-02-23 Thread Denis V. Lunev
On 02/23/2016 06:10 PM, Michael S. Tsirkin wrote: On Tue, Feb 16, 2016 at 06:50:52PM +0300, Denis V. Lunev wrote: From: Igor Redko Add a new field, VIRTIO_BALLOON_S_AVAIL, to virtio_balloon memory statistics protocol, corresponding to 'Available' in /proc/meminfo. It indicates to the hypervis

Re: [PATCH 2/2] virtio_balloon: export 'available' memory to balloon statistics

2016-02-23 Thread Michael S. Tsirkin
On Tue, Feb 16, 2016 at 06:50:52PM +0300, Denis V. Lunev wrote: > From: Igor Redko > > Add a new field, VIRTIO_BALLOON_S_AVAIL, to virtio_balloon memory > statistics protocol, corresponding to 'Available' in /proc/meminfo. > > It indicates to the hypervisor how big the balloon can be inflated >

[PATCH 2/2] virtio_balloon: export 'available' memory to balloon statistics

2016-02-16 Thread Denis V. Lunev
From: Igor Redko Add a new field, VIRTIO_BALLOON_S_AVAIL, to virtio_balloon memory statistics protocol, corresponding to 'Available' in /proc/meminfo. It indicates to the hypervisor how big the balloon can be inflated without pushing the guest system to swap. Signed-off-by: Igor Redko Reviewed