]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: make qemuPasstCreateSocketPath() public
authorLaine Stump <laine@redhat.com>
Wed, 12 Feb 2025 17:12:04 +0000 (12:12 -0500)
committerLaine Stump <laine@redhat.com>
Mon, 17 Feb 2025 04:58:35 +0000 (23:58 -0500)
When passt is used with vhostuser, the vhostuser code that builds the
qemu commandline will need to have the same socket path that is given
to the passt command, so this patch makes it visible outside of
qemu_passt.c.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_passt.c
src/qemu/qemu_passt.h

index dd4a8bb997503ed5022af67cafb0965176a4df0f..8a3ac4e988270c94b1b95d2aa2f7aa26a37963c3 100644 (file)
@@ -54,7 +54,7 @@ qemuPasstCreatePidFilename(virDomainObj *vm,
 }
 
 
-static char *
+char *
 qemuPasstCreateSocketPath(virDomainObj *vm,
                           virDomainNetDef *net)
 {
index 623b494b7ae53636b9a269940fa8e207b279cc09..e0b9aaac8dfabfc11c044a2c7ef1eec1666bee81 100644 (file)
@@ -36,3 +36,6 @@ void qemuPasstStop(virDomainObj *vm,
 int qemuPasstSetupCgroup(virDomainObj *vm,
                          virDomainNetDef *net,
                          virCgroup *cgroup);
+
+char *qemuPasstCreateSocketPath(virDomainObj *vm,
+                                virDomainNetDef *net);