[PATCH 0/5] qemu: Adapt to virtio-gpu-gl-pci and virtio-vga-gl

Han Han hhan at redhat.com
Tue Jun 8 01:15:33 UTC 2021


The virgl property of virtio-gpu-pci&virtio-vga will be replaced by
virtio-gpu-gl-pci&virtio-vga-gl in QEMU 6.1. Adapt to that update.

Resolves:
https://gitlab.com/libvirt/libvirt/-/issues/167
https://bugzilla.redhat.com/show_bug.cgi?id=1967356


Han Han (5):
  qemu_capabilities: Add QEMU_CAPS_VIRTIO_GPU_GL_PCI
  qemu: Adapt to virtio-gpu-gl-pci device when available
  qemu_capabilities: Add QEMU_CAPS_VIRTIO_VGA_GL
  qemu: Adapt to virtio-vga-gl device
  tests: Tests for virtio-vga-gl and virtio-gpu-gl-pci device

 src/qemu/qemu_capabilities.c                  |  4 ++
 src/qemu/qemu_capabilities.h                  |  2 +
 src/qemu/qemu_command.c                       | 11 ++++-
 .../caps_6.1.0.x86_64.xml                     |  2 +
 .../video-virtio-vga-gpu-gl.args              | 29 +++++++++++++
 .../video-virtio-vga-gpu-gl.xml               | 34 +++++++++++++++
 tests/qemuxml2argvtest.c                      |  6 +++
 .../video-virtio-vga-gpu-gl.xml               | 43 +++++++++++++++++++
 tests/qemuxml2xmltest.c                       |  6 +++
 9 files changed, 136 insertions(+), 1 deletion(-)
 create mode 100644 tests/qemuxml2argvdata/video-virtio-vga-gpu-gl.args
 create mode 100644 tests/qemuxml2argvdata/video-virtio-vga-gpu-gl.xml
 create mode 100644 tests/qemuxml2xmloutdata/video-virtio-vga-gpu-gl.xml

-- 
2.31.1




More information about the libvir-list mailing list