Re: [PATCH] qxl: don't assert() if device isn't yet initialized

2023-08-17 Thread Thomas Huth
On 14/08/2023 21.33, marcandre.lur...@redhat.com wrote: From: Marc-André Lureau If the PCI BAR isn't yet mapped or was unmapped, QXL_IO_SET_MODE will assert(). Instead, report a guest bug and keep going. This can be reproduced with: cat << EOF | ./qemu-system-x86_64 -vga qxl -m 2048 -nodefaul

[PATCH] qxl: don't assert() if device isn't yet initialized

2023-08-14 Thread marcandre . lureau
From: Marc-André Lureau If the PCI BAR isn't yet mapped or was unmapped, QXL_IO_SET_MODE will assert(). Instead, report a guest bug and keep going. This can be reproduced with: cat << EOF | ./qemu-system-x86_64 -vga qxl -m 2048 -nodefaults -qtest stdio outl 0xcf8 0x8000101c outl 0xcfc 0xc000 ou