]> www.infradead.org Git - users/dwmw2/qemu.git/commit
virtio-gpu/win32: set the destroy function on load
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 6 Sep 2023 12:37:43 +0000 (16:37 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 12 Sep 2023 06:37:02 +0000 (10:37 +0400)
commit04562ee88e99d71f4e6017f64123f726dd8b41e1
treeb7389179d6c9bd999d7017e174be9cbf1ae7fda9
parent6d8cd7c2205867d70d7520c890ad19a27651bdb2
virtio-gpu/win32: set the destroy function on load

Don't forget to unmap the resource memory.

Fixes: commit 9462ff469 ("virtio-gpu/win32: allocate shareable 2d resources/images")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
hw/display/virtio-gpu.c