1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 06:50:22 +03:00

qemu: make qemuPasstCreateSocketPath() public

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>
This commit is contained in:
Laine Stump 2025-02-12 12:12:04 -05:00
parent 6fe3d765e5
commit 7b7c56c3b8
2 changed files with 4 additions and 1 deletions

View File

@ -54,7 +54,7 @@ qemuPasstCreatePidFilename(virDomainObj *vm,
}
static char *
char *
qemuPasstCreateSocketPath(virDomainObj *vm,
virDomainNetDef *net)
{

View File

@ -36,3 +36,6 @@ void qemuPasstStop(virDomainObj *vm,
int qemuPasstSetupCgroup(virDomainObj *vm,
virDomainNetDef *net,
virCgroup *cgroup);
char *qemuPasstCreateSocketPath(virDomainObj *vm,
virDomainNetDef *net);