
10 Apr
2025
10 Apr
'25
5:38 a.m.
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@redhat.com> --- src/qemu/qemu_driver.c | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-)
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>