]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Implement chardev source setup for disk
authorPeter Krempa <pkrempa@redhat.com>
Wed, 8 Dec 2021 09:07:44 +0000 (10:07 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 10 Dec 2021 15:37:42 +0000 (16:37 +0100)
commit5f2cc74257a4fe86d1a54be478c81a6c301dc183
tree6727214acdd3389057123bcf5c63180a292dcc87
parent384699b824a1c45e50405311e414789c34f052d1
qemu: Implement chardev source setup for disk

Add handling to qemuDomainDeviceBackendChardevForeachOne and callbacks
so that we can later use 'qemuBuildChardevCommand' for vhost-user disks
instead of a custom formatter.

Since we don't pass the FD for the vhost-user connection to qemu all of
the setup can be skipped.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_process.c
tests/qemuxml2argvtest.c