Re: [PATCH 2/5] qemu: make processNetDevStreamDisconnectedEvent() reusable

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

 



On Thu, Apr 10, 2025 at 02:58:27 -0400, Laine Stump wrote:
> We will be adding a new event whose response will be *exactly* the
> same as the response to NETDEV_STREAM_DISCONNECTED. Rather than doing
> a copy-paste of the complete function that does the processing, turn
> that function into something more generic that takes the name of the
> event as an arg (the event name is only used in log messages).
> 
> Signed-off-by: Laine Stump <laine@xxxxxxxxxx>
> ---
>  src/qemu/qemu_driver.c | 37 +++++++++++++++++++++++--------------
>  1 file changed, 23 insertions(+), 14 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