Re: [Qemu-devel] [PATCH] virtio-gpu: fix crashes upon warm reboot with vga mode

2018-08-07 Thread Peter Maydell
On 7 August 2018 at 14:41, Gerd Hoffmann wrote: > On Tue, Aug 07, 2018 at 03:02:49PM +0200, Marc-André Lureau wrote: >> Hi >> >> On Tue, Aug 7, 2018 at 2:55 PM, Gerd Hoffmann wrote: >> > On Fri, Aug 03, 2018 at 05:32:35PM +0200, Marc-André Lureau wrote: >> >> With vga=775 on the Linux command lin

Re: [Qemu-devel] [PATCH] virtio-gpu: fix crashes upon warm reboot with vga mode

2018-08-07 Thread Gerd Hoffmann
On Tue, Aug 07, 2018 at 03:02:49PM +0200, Marc-André Lureau wrote: > Hi > > On Tue, Aug 7, 2018 at 2:55 PM, Gerd Hoffmann wrote: > > On Fri, Aug 03, 2018 at 05:32:35PM +0200, Marc-André Lureau wrote: > >> With vga=775 on the Linux command line a first boot of the VM running > >> Linux works fine.

Re: [Qemu-devel] [PATCH] virtio-gpu: fix crashes upon warm reboot with vga mode

2018-08-07 Thread Marc-André Lureau
Hi On Tue, Aug 7, 2018 at 2:55 PM, Gerd Hoffmann wrote: > On Fri, Aug 03, 2018 at 05:32:35PM +0200, Marc-André Lureau wrote: >> With vga=775 on the Linux command line a first boot of the VM running >> Linux works fine. After a warm reboot it crashes during Linux boot. >> >> Before that, valgrind

Re: [Qemu-devel] [PATCH] virtio-gpu: fix crashes upon warm reboot with vga mode

2018-08-07 Thread Gerd Hoffmann
On Fri, Aug 03, 2018 at 05:32:35PM +0200, Marc-André Lureau wrote: > With vga=775 on the Linux command line a first boot of the VM running > Linux works fine. After a warm reboot it crashes during Linux boot. > > Before that, valgrind points out bad memory write to console > surface. The VGA code

Re: [Qemu-devel] [PATCH] virtio-gpu: fix crashes upon warm reboot with vga mode

2018-08-06 Thread Marc-André Lureau
Hi On Mon, Aug 6, 2018 at 11:16 PM, Michael S. Tsirkin wrote: > On Fri, Aug 03, 2018 at 05:32:35PM +0200, Marc-André Lureau wrote: >> With vga=775 on the Linux command line a first boot of the VM running >> Linux works fine. After a warm reboot it crashes during Linux boot. >> >> Before that, val

Re: [Qemu-devel] [PATCH] virtio-gpu: fix crashes upon warm reboot with vga mode

2018-08-06 Thread Michael S. Tsirkin
On Fri, Aug 03, 2018 at 05:32:35PM +0200, Marc-André Lureau wrote: > With vga=775 on the Linux command line a first boot of the VM running > Linux works fine. After a warm reboot it crashes during Linux boot. > > Before that, valgrind points out bad memory write to console > surface. The VGA code

Re: [Qemu-devel] [PATCH] virtio-gpu: fix crashes upon warm reboot with vga mode

2018-08-06 Thread Peter Maydell
I think this is now our last bug fix needed for rc4, which ideally I'd like to tag tomorrow (Tuesday). Is there anybody familiar with virtio-gpu who could review it? thanks -- PMM On 3 August 2018 at 16:32, Marc-André Lureau wrote: > With vga=775 on the Linux command line a first boot of the VM

Re: [Qemu-devel] [PATCH] virtio-gpu: fix crashes upon warm reboot with vga mode

2018-08-06 Thread Marc-André Lureau
On Mon, Aug 6, 2018 at 3:39 PM, Peter Maydell wrote: > On 3 August 2018 at 16:32, Marc-André Lureau > wrote: >> With vga=775 on the Linux command line a first boot of the VM running >> Linux works fine. After a warm reboot it crashes during Linux boot. >> >> Before that, valgrind points out bad m

Re: [Qemu-devel] [PATCH] virtio-gpu: fix crashes upon warm reboot with vga mode

2018-08-06 Thread Peter Maydell
On 3 August 2018 at 16:32, Marc-André Lureau wrote: > With vga=775 on the Linux command line a first boot of the VM running > Linux works fine. After a warm reboot it crashes during Linux boot. > > Before that, valgrind points out bad memory write to console > surface. The VGA code is not aware th

Re: [Qemu-devel] [PATCH] virtio-gpu: fix crashes upon warm reboot with vga mode

2018-08-03 Thread Stefan Berger
On 08/03/2018 11:32 AM, Marc-André Lureau wrote: With vga=775 on the Linux command line a first boot of the VM running Linux works fine. After a warm reboot it crashes during Linux boot. Before that, valgrind points out bad memory write to console surface. The VGA code is not aware that virtio-g

[Qemu-devel] [PATCH] virtio-gpu: fix crashes upon warm reboot with vga mode

2018-08-03 Thread Marc-André Lureau
With vga=775 on the Linux command line a first boot of the VM running Linux works fine. After a warm reboot it crashes during Linux boot. Before that, valgrind points out bad memory write to console surface. The VGA code is not aware that virtio-gpu got a message surface scanout when the display i