[libvirt] [PATCH 18/4] virsh: split out virsh-volume.c

Laine Stump laine at laine.org
Tue Aug 21 04:58:49 UTC 2012


On 08/20/2012 07:48 PM, Eric Blake wrote:
> Last of the file splits.
>
> * tools/virsh-volume.h: New file.
> * tools/Makefile.am (virsh_SOURCES): Build it.
> * tools/virsh.c: Use new header.
> * tools/virsh-volume.c: Likewise.
> ---
>  tools/Makefile.am    |  3 +--
>  tools/virsh-volume.c | 36 +++++++++++++++++++++++++-----------
>  tools/virsh-volume.h | 43 +++++++++++++++++++++++++++++++++++++++++++
>  tools/virsh.c        |  3 +--
>  4 files changed, 70 insertions(+), 15 deletions(-)
>  create mode 100644 tools/virsh-volume.h

Another one that does the standard stuff plus rename flag to flags, and
use virCheckFlags to validate the VSH_BYx values used.

ACK.




More information about the libvir-list mailing list