[Qemu-devel] [PATCH] Fix coredump when using virtio-vga

2019-02-28 Thread 08005325
From: Michael Qiu When using command -device virtio-vga,virgl=on the default max_outputs is 0, this will lead coredump, (con=0x0, hw_ops=0x564452e0 , opaque=0x5754ec60) at ui/console.c:1872 (vpci_dev=0x5754ec60, errp=0x7fffdbb8) at qemu/hw/display/virtio-vga.c:1

Re: [Qemu-devel] [PATCH] Fix coredump when using virtio-vga

2019-02-28 Thread Gerd Hoffmann
On Fri, Mar 01, 2019 at 12:13:08PM +0800, 08005...@163.com wrote: > From: Michael Qiu > > When using command -device virtio-vga,virgl=on > the default max_outputs is 0, this will lead coredump, The default is 1. > @@ -46,6 +46,11 @@ static void virtio_gpu_pci_realize(VirtIOPCIProxy > *vpci_dev