1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00
Peter Krempa c6bb274693 virsh: cmdEvent: Rewrite questionable event registration
The code registering the event handlers in 'cmdEvent' had too many
blocks of code conditional on whether just one event is being listened
to or all events.

The code can be greatly simplified by uniting the code paths and having
only one branch when filling the list of events we want to listen for.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2022-03-03 11:06:56 +01:00
..
2022-01-17 09:53:45 +01:00
2019-08-09 09:03:53 +02:00
2022-02-08 08:42:07 +01:00
2022-02-08 08:42:07 +01:00
2022-02-08 08:42:07 +01:00
2022-02-11 16:03:29 +01:00