Re: [RFC PATCH 3/4] virtio_balloon: add pressure notification via anew virtqueue
From: Luiz Capitulino
Date: Thu Jan 16 2014 - 20:44:02 EST
On Thu, 16 Jan 2014 20:38:19 -0500
Luiz Capitulino <lcapitulino@xxxxxxxxxx> 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
> cancels the on-going inflate
>
> 2. The balloon driver is not inflating, eg. it's possibly sleeping
>
> QEMU issues a deflate
>
> But note that those scenarios are not supposed to be used with the
> current device, they are part of the automatic ballooning feature.
> I CC'ed you on the QEMU patch, you can find it here case you didn't
> see it:
>
> http://marc.info/?l=kvm&m=138988966315690&w=2
By "current device" I meant "outside of automatic ballooning scope".
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/