]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Split cmds to manage host interface from virsh.c
authorOsier Yang <jyang@redhat.com>
Tue, 24 Jul 2012 08:56:49 +0000 (16:56 +0800)
committerOsier Yang <jyang@redhat.com>
Thu, 26 Jul 2012 04:00:27 +0000 (12:00 +0800)
commit0c39ea2fa5c2d0cdc16595c1777588aab6ba7dc0
tree97699808f0f17dcda925610936565978ffbf8d4e
parent0510f97e73bae1b36129947c953f7ea15cb026f7
virsh: Split cmds to manage host interface from virsh.c

Commands to manage host interface are moved from virsh.c to
virsh-interface.c, with a few helpers for interface command use.

* virsh.c: Remove interface commands and a few helpers.
           (vshCommandOptInterface, vshCommandOptInterfaceBy)
* virsh-interface.c: New file, filled with interface commands and
                     its helpers.
* cfg.mk: Skip to check config.h including for virsh-interface.c
* po/POTFILES.in: Add virsh-interface.c
cfg.mk
po/POTFILES.in
tools/virsh-interface.c [new file with mode: 0644]
tools/virsh.c