]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Use qemuBuildChrChardevCommand for vhost-user disk backend
authorPeter Krempa <pkrempa@redhat.com>
Thu, 4 Nov 2021 16:12:13 +0000 (17:12 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 10 Dec 2021 15:37:42 +0000 (16:37 +0100)
commitfd4aca6cf5203d3be8d7db8f8ae20e3cbf65215a
tree982206bceb0ee29c431149f1dc218404f8c9cfd9
parent5f2cc74257a4fe86d1a54be478c81a6c301dc183
qemu: Use qemuBuildChrChardevCommand for vhost-user disk backend

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

For virtiofs we don't have a centrally stored chardev source so we
allocate one inline for temporary use.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_block.c
src/qemu/qemu_block.h
src/qemu/qemu_command.c