[libvirt PATCH 04/16] qemu: domain: introduce qemuDomainGetVHostUserChrSourceDef

Peter Krempa pkrempa at redhat.com
Wed Oct 6 07:42:10 UTC 2021


On Wed, Oct 06, 2021 at 09:15:10 +0200, Ján Tomko wrote:
> A function that creates a chardev source with the appropriate
> socket path set.
> 
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
>  src/qemu/qemu_domain.c | 13 +++++++++++++
>  src/qemu/qemu_domain.h |  4 ++++
>  2 files changed, 17 insertions(+)

This function is called only from 'qemuDomainAttachFSDevice' thus it
doesn't really feel it's worth having as a separate helper.

Consider inlining it into the patch actually needing it.

Reviewed-by: Peter Krempa <pkrempa at redhat.com>




More information about the libvir-list mailing list