Re: [PATCH 09/23] virsh: Move 'cmdEvent' and all of it's machinery to virsh-domain-event.c

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

 



*its

On a Wednesday in 2022, Peter Krempa wrote:
'cmdEvent' along with all the helper functions it needs is ~950 LOC.
Move it out from virsh-domain.c to virsh-domain-event.c along with the
completer function so that the new module doesn't have to expose any new
types.

Semantically this creates a new category in 'virsh help' but all other
behaviour stays the same.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
po/POTFILES.in                 |    1 +
tools/meson.build              |    1 +
tools/virsh-completer-domain.c |   19 -
tools/virsh-completer-domain.h |    5 -
tools/virsh-domain-event.c     | 1007 ++++++++++++++++++++++++++++++++
tools/virsh-domain-event.h     |   23 +
tools/virsh-domain.c           |  946 ------------------------------
tools/virsh.c                  |    2 +
tools/virsh.h                  |    1 +
9 files changed, 1035 insertions(+), 970 deletions(-)
create mode 100644 tools/virsh-domain-event.c
create mode 100644 tools/virsh-domain-event.h


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[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