Re: [PATCH 4/5] qemu: put vhost-user code that's special for passt in a helper function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxx>



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux