- qemu_migration: Refactor qemuMigrationSrcRestoreDomainState (RHEL-79168) - qemu_migration: Do not automatically resume domain after I/O error (RHEL-79168) - qemucapabilitiestest: Add data for the qemu-10.0 dev cycle on x86_64 (RHEL-79095) - qemucapabilitiestest: Update 'caps_10.0.0_x86_64' to 'v9.2.0-1636-gffaf7f0376' (RHEL-79095) - qemu: capabilies: Introduce QEMU_CAPS_BLOCKDEV_SET_ACTIVE (RHEL-79095) - qemu: monitor: Add monitor backend for 'blockdev-set-active' (RHEL-79095) - qemu: migration: Reactivate block nodes after migration if VM is left paused (RHEL-79095) - conf: change virDomainHostdevInsert() to return void (RHEL-69455) - qemu: fix qemu validation to forbid guest-side IP address for type='vdpa' (RHEL-69455) - qemu: validate that model is virtio for vhostuser and vdpa interfaces in the same place (RHEL-69455) - qemu: automatically set model type='virtio' for interface type='vhostuser' (RHEL-69455) - qemu: do all vhostuser attribute validation in qemu driver (RHEL-69455) - conf/qemu: make <source> element *almost* optional for type=vhostuser (RHEL-69455) - qemu: use switch instead of if in qemuProcessPrepareDomainNetwork() (RHEL-69455) - qemu: make qemuPasstCreateSocketPath() public (RHEL-69455) - qemu: complete vhostuser + passt support (RHEL-69455) - qemu: fail validation if a domain def has vhostuser/passt but no shared mem (RHEL-69455) - docs: improve type='user' docs to higlight differences between SLIRP and passt (RHEL-69455) - docs: document using passt backend with <interface type='vhostuser'> (RHEL-69455) - utils: Canonicalize paths before comparing them (RHEL-79166) Resolves: RHEL-69455, RHEL-79095, RHEL-79166, RHEL-79168
52 lines
1.7 KiB
Diff
52 lines
1.7 KiB
Diff
From 3d9f51a59292b1a910b11fac00f9cb52210169d1 Mon Sep 17 00:00:00 2001
|
|
Message-ID: <3d9f51a59292b1a910b11fac00f9cb52210169d1.1739824249.git.jdenemar@redhat.com>
|
|
From: Laine Stump <laine@redhat.com>
|
|
Date: Wed, 12 Feb 2025 12:12:04 -0500
|
|
Subject: [PATCH] qemu: make qemuPasstCreateSocketPath() public
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
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>
|
|
(cherry picked from commit 7b7c56c3b81c0f525c6b2f1c89e0ef070bb4fb19)
|
|
|
|
https://issues.redhat.com/browse/RHEL-69455
|
|
Signed-off-by: Laine Stump <laine@redhat.com>
|
|
---
|
|
src/qemu/qemu_passt.c | 2 +-
|
|
src/qemu/qemu_passt.h | 3 +++
|
|
2 files changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/qemu/qemu_passt.c b/src/qemu/qemu_passt.c
|
|
index dd4a8bb997..8a3ac4e988 100644
|
|
--- a/src/qemu/qemu_passt.c
|
|
+++ b/src/qemu/qemu_passt.c
|
|
@@ -54,7 +54,7 @@ qemuPasstCreatePidFilename(virDomainObj *vm,
|
|
}
|
|
|
|
|
|
-static char *
|
|
+char *
|
|
qemuPasstCreateSocketPath(virDomainObj *vm,
|
|
virDomainNetDef *net)
|
|
{
|
|
diff --git a/src/qemu/qemu_passt.h b/src/qemu/qemu_passt.h
|
|
index 623b494b7a..e0b9aaac8d 100644
|
|
--- a/src/qemu/qemu_passt.h
|
|
+++ b/src/qemu/qemu_passt.h
|
|
@@ -36,3 +36,6 @@ void qemuPasstStop(virDomainObj *vm,
|
|
int qemuPasstSetupCgroup(virDomainObj *vm,
|
|
virDomainNetDef *net,
|
|
virCgroup *cgroup);
|
|
+
|
|
+char *qemuPasstCreateSocketPath(virDomainObj *vm,
|
|
+ virDomainNetDef *net);
|
|
--
|
|
2.48.1
|