Re: [Qemu-devel] [PATCH v2 2/6] virtio-balloon: make stats virtqueue length 1

2016-08-21 Thread Michael S. Tsirkin
On Fri, Aug 19, 2016 at 04:39:21PM +0300, Roman Kagan wrote: > The protocol for virtio-balloon stats virtqueue doesn't allow more than > one element in the virtqueue. > > So, instead of trying to compensate for guest misbehavior if it sends > new data before the slot has been released by the host,

[Qemu-devel] [PATCH v2 2/6] virtio-balloon: make stats virtqueue length 1

2016-08-19 Thread Roman Kagan
The protocol for virtio-balloon stats virtqueue doesn't allow more than one element in the virtqueue. So, instead of trying to compensate for guest misbehavior if it sends new data before the slot has been released by the host, just define the stats virtqueue length to 1 initially and rely on the