[PATCH 00/11] Split virsh

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

 



This splits virsh.c by the command groups, except 'virsh itself' group,
each group will have a separate .c, filled with the its commands, a
few helpers, and command group definition moved from virsh.c. and virsh.c
simply include those new .c files.

It still could be optimized, but this set could set up the skelton, and
further optimization could be later patches.

Osier Yang (11):
  virsh: Move definition of cmds and cmd groups right at the top of
    main
  virsh: Split cmds for domain and domain monitoring from virsh.c
  virsh: Split cmds for storage pool and storage volume from virsh.c
  virsh: Split cmds to manage network from virsh.c
  virsh: Split cmds to manage host interface from virsh.c
  virsh: Split cmds to manage network filter from virsh.c
  virsh: Split cmds to manage secret from virsh.c
  virsh: Split cmds to manage domain snapshot from virsh.c
  virsh: Split cmds in host group from virsh.c
  virsh: Split cmds in node device group from virsh.c
  virsh: Move command group definition into its own file

 tools/virsh-domain-monitor.c | 1701 ++++
 tools/virsh-domain.c         | 8139 +++++++++++++++++++
 tools/virsh-host.c           |  839 ++
 tools/virsh-interface.c      | 1032 +++
 tools/virsh-network.c        |  710 ++
 tools/virsh-nodedev.c        |  402 +
 tools/virsh-nwfilter.c       |  324 +
 tools/virsh-pool.c           | 1442 ++++
 tools/virsh-secret.c         |  373 +
 tools/virsh-snapshot.c       | 1628 ++++
 tools/virsh-volume.c         | 1462 ++++
 tools/virsh.c                |18474 +-----------------------------------------
 12 files changed, 18361 insertions(+), 18165 deletions(-)
 create mode 100644 tools/virsh-domain-monitor.c
 create mode 100644 tools/virsh-domain.c
 create mode 100644 tools/virsh-host.c
 create mode 100644 tools/virsh-interface.c
 create mode 100644 tools/virsh-network.c
 create mode 100644 tools/virsh-nodedev.c
 create mode 100644 tools/virsh-nwfilter.c
 create mode 100644 tools/virsh-pool.c
 create mode 100644 tools/virsh-secret.c
 create mode 100644 tools/virsh-snapshot.c
 create mode 100644 tools/virsh-volume.c

Regards,
Osier

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[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]