Re: [Qemu-devel] [PATCH 2/2] virtio-gpu: clear command queue on reset

2019-03-14 Thread Gerd Hoffmann
On Thu, Mar 14, 2019 at 12:01:27PM +0100, Marc-André Lureau wrote: > Hi > > On Thu, Mar 14, 2019 at 7:17 AM Gerd Hoffmann wrote: > > > > It was never correct to not clear them. Due to commit "3912e66a3feb > > virtio-vga: fix reset." this became more obvious though. The virtio > > rings get prop

Re: [Qemu-devel] [PATCH 2/2] virtio-gpu: clear command queue on reset

2019-03-14 Thread Marc-André Lureau
Hi On Thu, Mar 14, 2019 at 7:17 AM Gerd Hoffmann wrote: > > It was never correct to not clear them. Due to commit "3912e66a3feb > virtio-vga: fix reset." this became more obvious though. The virtio > rings get properly reset now, and trying to process the stale commands > will trigger an assert

[Qemu-devel] [PATCH 2/2] virtio-gpu: clear command queue on reset

2019-03-13 Thread Gerd Hoffmann
It was never correct to not clear them. Due to commit "3912e66a3feb virtio-vga: fix reset." this became more obvious though. The virtio rings get properly reset now, and trying to process the stale commands will trigger an assert in the virtio core. Signed-off-by: Gerd Hoffmann --- hw/display/