]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Use qemuBuildChrChardevCommand for vhost-user-gpu backend chardev
authorPeter Krempa <pkrempa@redhat.com>
Fri, 5 Nov 2021 14:40:40 +0000 (15:40 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 10 Dec 2021 15:37:42 +0000 (16:37 +0100)
commit9a89ec8997cc1a96e0cd5ea6ed10c698d05dd6f2
treea63c6c66ab8ea85d69f04242bf566f964a7e0fa6
parent1164f234e322c8727204b42f6eb915a1ad4cc454
qemu: Use qemuBuildChrChardevCommand for vhost-user-gpu backend chardev

Now that the API for qemuBuildChrChardevCommand is sane enough, we can
use it to centralize formatting of '-chardev' generally.

The 'virDomainVideoDef' doesn't use 'virDomainChrSourceDef' internally so
we create it for this occasion manually.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/vhost-user-gpu-secondary.x86_64-latest.args
tests/qemuxml2argvdata/virtio-options-video-ats.x86_64-latest.args
tests/qemuxml2argvdata/virtio-options-video-iommu.x86_64-latest.args
tests/qemuxml2argvdata/virtio-options-video-packed.x86_64-latest.args