virsh: Split cmds for domain monitoring from virsh.c

This splits commands commands to monitor domain status into
virsh-domain-monitor.c. The helpers not for common use are moved too.
Standard copyright is added.

* tools/virsh.c:
  - Remove commands for domain monitoring group and a few helpers (
    vshDomainIOErrorToString, vshGetDomainDescription,
    vshDomainControlStateToString, vshDomainStateToString) not for
    common use.
  - Remove (incldue "intprops.h").

* tools/virsh-domain-monitor.c:
  - New file, filled with commands of domain monitor group.
  - Add "intprops.h".

* cfg.mk:
  - Skip strcase checking for virsh-domain-monitor.c
  - Skip to check config.h including for virsh-domain-monitor.c

* po/POTFILES.in
  - Add virsh-domain-monitor.c
This commit is contained in:
Osier Yang
2012-07-24 16:24:50 +08:00
parent e92ff10b36
commit 9f4baa222e
4 changed files with 1695 additions and 1666 deletions

View File

@@ -177,6 +177,7 @@ src/xenxs/xen_xm.c
tools/console.c
tools/libvirt-guests.init.sh
tools/virsh.c
tools/virsh-domain-monitor.c
tools/virsh-edit.c
tools/virt-host-validate-common.c
tools/virt-host-validate-lxc.c