Re: [RFC PATCH 3/4] virtio_balloon: add pressure notification via a new virtqueue

2014-01-20 Thread Luiz Capitulino
On Mon, 20 Jan 2014 12:43:45 +1030 Rusty Russell wrote: > Luiz Capitulino writes: > > On Fri, 17 Jan 2014 09:10:47 +1030 > > Rusty Russell wrote: > > > >> Luiz Capitulino writes: > >> > From: Luiz capitulino > >> > > >> > This commit adds support to a new virtqueue called message virtqueue. >

Re: [RFC PATCH 3/4] virtio_balloon: add pressure notification via a new virtqueue

2014-01-19 Thread Rusty Russell
Luiz Capitulino writes: > On Fri, 17 Jan 2014 09:10:47 +1030 > Rusty Russell wrote: > >> Luiz Capitulino writes: >> > From: Luiz capitulino >> > >> > This commit adds support to a new virtqueue called message virtqueue. >> >> OK, this needs a lot of thought (especially since reworking the virt

Re: [RFC PATCH 3/4] virtio_balloon: add pressure notification via a new virtqueue

2014-01-16 Thread Luiz Capitulino
On Thu, 16 Jan 2014 20:38:19 -0500 Luiz Capitulino wrote: > > What does qemu do with this information? > > There are two possible scenarios: > > 1. The balloon driver is currently inflating when it gets under > pressure > > QEMU resets "num_pages" to the current balloon size. This >

Re: [RFC PATCH 3/4] virtio_balloon: add pressure notification via a new virtqueue

2014-01-16 Thread Luiz Capitulino
On Fri, 17 Jan 2014 09:10:47 +1030 Rusty Russell wrote: > Luiz Capitulino writes: > > From: Luiz capitulino > > > > This commit adds support to a new virtqueue called message virtqueue. > > OK, this needs a lot of thought (especially since reworking the virtio > balloon is on the TODO list for

Re: [RFC PATCH 3/4] virtio_balloon: add pressure notification via a new virtqueue

2014-01-16 Thread Rusty Russell
Luiz Capitulino writes: > From: Luiz capitulino > > This commit adds support to a new virtqueue called message virtqueue. OK, this needs a lot of thought (especially since reworking the virtio balloon is on the TODO list for the OASIS virtio technical committee...) But AFAICT this is a way of e