
10 Apr
2025
10 Apr
'25
5:42 a.m.
On Thu, Apr 10, 2025 at 02:58:29 -0400, Laine Stump wrote:
Rather than duplicating these two lines of chr device object setup for hotplug and domain start, put them in a helper function that's called from both places. That way when we need to setup *more* stuff specific to passt+vhostuser, we can just add it in that one place.
Signed-off-by: Laine Stump <laine@redhat.com> --- src/qemu/qemu_hotplug.c | 7 +------ src/qemu/qemu_passt.c | 19 +++++++++++++++++++ src/qemu/qemu_passt.h | 3 +++ src/qemu/qemu_process.c | 9 ++------- 4 files changed, 25 insertions(+), 13 deletions(-)
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>