[libvirt] [PATCH 10/4] virsh: split out virsh-interface.c

Laine Stump laine at laine.org
Tue Aug 21 04:47:15 UTC 2012


On 08/20/2012 05:37 PM, Eric Blake wrote:
> Another relatively easy split, since helper functions were fixed
> in the previous patch.
>
> * tools/virsh-interface.h: New file.
> * tools/Makefile.am (virsh_SOURCES): Build it.
> * tools/virsh.c: Use new header.
> * tools/virsh-interface.c: Likewise.
> (vshCommandOptInterfaceBy): Check flags.
> ---
>  tools/Makefile.am       |  2 +-
>  tools/virsh-interface.c | 28 +++++++++++++++++++---------
>  tools/virsh-interface.h | 42 ++++++++++++++++++++++++++++++++++++++++++
>  tools/virsh.c           |  2 +-
>  4 files changed, 63 insertions(+), 11 deletions(-)
>  create mode 100644 tools/virsh-interface.h

No surprises there. ACK.




More information about the libvir-list mailing list