]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: add support for 'blob' in virtio video device
authorJonathon Jongsma <jjongsma@redhat.com>
Wed, 9 Feb 2022 21:13:09 +0000 (15:13 -0600)
committerJonathon Jongsma <jjongsma@redhat.com>
Wed, 8 Mar 2023 19:05:05 +0000 (13:05 -0600)
commit96d43ab285395bc2b93683f1d2083e6205fbf664
treee98d8d514b90150c18a998f047b10bf597e2bf10
parent464a87ec52a7e2a3f4d07bf7a94f044b9ae22469
conf: add support for 'blob' in virtio video device

Add the ability to enable blob resources for the virtio video device.
This will accelerate the display path due to less or no copying of pixel
data.

Blob resource support can be enabled with e.g.:

    <video>
      <model type='virtio' blob='on'/>
    </video>

Some additional background information about blob resources:
https://lists.freedesktop.org/archives/dri-devel/2020-August/275972.html
https://www.kraxel.org/blog/2021/05/virtio-gpu-qemu-graphics-update/

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2032406

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/formatdomain.rst
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/domain_validate.c
src/conf/schemas/domaincommon.rng