Re: [Spice-devel] [PATCH] reset qxl to vga mode

2023-02-14 Thread Frediano Ziglio
Il giorno mar 14 feb 2023 alle ore 04:19 qi zhou ha scritto: > > from > https://github.com/qemu/qemu/commit/ed71c09ffd6fbd01c2a487d47291ae57b08671ea > QXL device rev 5+ requires explicit reset to switch to VGA mode. > in windows, if bsod happens, windows cannot switch qxl gpu from qxl mode to >

Re: [Spice-devel] [PATCH] reset qxl to vga mode

2023-02-14 Thread qi zhou
> Hi, >   It looks good to me. Why it was QXL_IO_MEMSLOT_ADD I don't know. On > Linux is QXL_IO_RESET too. May be a typo ?, here you can use sysinternal's notmyfault to test this bug. 1. launch qemu use legacy bios mode. make sure qxl driver is active, then open notmyfault64.exe click on crash bu

Re: [Spice-devel] [PATCH] reset qxl to vga mode

2023-02-14 Thread Frediano Ziglio
Il giorno mar 14 feb 2023 alle ore 10:50 qi zhou ha scritto: > > > Hi, > > It looks good to me. Why it was QXL_IO_MEMSLOT_ADD I don't know. On > > Linux is QXL_IO_RESET too. > > May be a typo ?, here you can use sysinternal's notmyfault to test this bug. > 1. launch qemu use legacy bios mode. ma

Re: [Spice-devel] [PATCH] reset qxl to vga mode

2023-02-14 Thread Victor Toso
Hi Freddy, On Tue, Feb 14, 2023 at 11:08:21AM +, Frediano Ziglio wrote: > Il giorno mar 14 feb 2023 alle ore 10:50 qi zhou > ha scritto: > > > > > Hi, > > > It looks good to me. Why it was QXL_IO_MEMSLOT_ADD I don't know. On > > > Linux is QXL_IO_RESET too. > > > > May be a typo ?, here you

[Spice-devel] [PATCH] drm/gem: Expose the buffer object handle to userspace last

2023-02-14 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Currently drm_gem_handle_create_tail exposes the handle to userspace before the buffer object constructions is complete. This allowing of working against a partially constructed object, which may also be in the process of having its creation fail, can have a range of negative

Re: [Spice-devel] [PATCH] drm/gem: Expose the buffer object handle to userspace last

2023-02-14 Thread Christian König
Am 14.02.23 um 13:50 schrieb Tvrtko Ursulin: From: Tvrtko Ursulin Currently drm_gem_handle_create_tail exposes the handle to userspace before the buffer object constructions is complete. This allowing of working against a partially constructed object, which may also be in the process of having

Re: [Spice-devel] [PATCH] reset qxl to vga mode

2023-02-14 Thread Vadim Rozenfeld
On Tue, Feb 14, 2023 at 10:32 PM Victor Toso wrote: > Hi Freddy, > > On Tue, Feb 14, 2023 at 11:08:21AM +, Frediano Ziglio wrote: > > Il giorno mar 14 feb 2023 alle ore 10:50 qi zhou > > ha scritto: > > > > > > > Hi, > > > > It looks good to me. Why it was QXL_IO_MEMSLOT_ADD I don't know.