]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Split cmds to manage network filter from virsh.c
authorOsier Yang <jyang@redhat.com>
Mon, 23 Jul 2012 06:15:55 +0000 (14:15 +0800)
committerOsier Yang <jyang@redhat.com>
Thu, 26 Jul 2012 04:00:42 +0000 (12:00 +0800)
commite9d10055dfb98fdc035bb5ba34189a8d97b2eb4e
tree655e04b0920fc00253113f581620a6242b3339b8
parent0c39ea2fa5c2d0cdc16595c1777588aab6ba7dc0
virsh: Split cmds to manage network filter from virsh.c

Commands to manage network filter are moved from virsh.c to virsh-nwfilter.c,
with a few helpers for network filter command use.

* virsh.c: Remove network filter commands and a few helpers.
           (vshCommandOptNWFilter, and vshCommandOptNWFilterBy)
* virsh-nwfilter.c: New file, filled with network filter commands and its helpers.

* po/POTFILES.in: Add virsh-nwfilter.c

* cfg.mk: Skip to check config.h including for virsh-nwfilter.c
cfg.mk
po/POTFILES.in
tools/virsh-nwfilter.c [new file with mode: 0644]
tools/virsh.c