Re: [PATCH v1] virtio-mmio: update queue size on guest write

2019-12-24 Thread Stefano Garzarella
On Tue, Dec 24, 2019 at 11:14:46AM +0300, Denis Plotnikov wrote: > Some guests read back queue size after writing it. > Always update the on size write otherwise they might be confused. > > Signed-off-by: Denis Plotnikov > --- > hw/virtio/virtio-mmio.c | 3 ++- > 1 file changed, 2 insertions(+),

[PATCH v1] virtio-mmio: update queue size on guest write

2019-12-24 Thread Denis Plotnikov
Some guests read back queue size after writing it. Always update the on size write otherwise they might be confused. Signed-off-by: Denis Plotnikov --- hw/virtio/virtio-mmio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/virtio/virtio-mmio.c b/hw/virtio/virtio-mmio.c