]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-gpu: allocate shareable 2d resources on !win32
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 8 Oct 2024 12:50:26 +0000 (16:50 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 14 Oct 2024 13:34:09 +0000 (17:34 +0400)
commit5f899c34af1dbb0f621287faf9bcfb60fa237543
treeaaa5a0d45fc120308187ac66afe735e5508df787
parent48b7ef0f0fc3c3033797b67d1554987a516488f9
virtio-gpu: allocate shareable 2d resources on !win32

Similar to what was done in commit 9462ff46 ("virtio-gpu/win32: allocate
shareable 2d resources/images") for win32, allocate resource memory with
memfd, so the associated display surface memory can be shared with a
different process.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-ID: <20241008125028.1177932-18-marcandre.lureau@redhat.com>
hw/display/virtio-gpu.c
include/hw/virtio/virtio-gpu.h