]> xenbits.xensource.com Git - libvirt.git/commit
virsh: Split cmds for domain monitoring from virsh.c
authorOsier Yang <jyang@redhat.com>
Tue, 24 Jul 2012 08:24:50 +0000 (16:24 +0800)
committerOsier Yang <jyang@redhat.com>
Thu, 26 Jul 2012 03:56:36 +0000 (11:56 +0800)
commit9f4baa222e44edcfa5a52f942b095ce4fa2546b5
tree6726b2cf61406391d3e995b5ccf94192ffbcbda6
parente92ff10b36ea3afaa7c187f829cd22ddc1f444df
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
cfg.mk
po/POTFILES.in
tools/virsh-domain-monitor.c [new file with mode: 0644]
tools/virsh.c