[libvirt] [PATCH v3 04/14] virsh: Create macro for common "persistent" option

Andrea Bolognani abologna at redhat.com
Mon Jan 11 11:59:09 UTC 2016


On Sat, 2016-01-09 at 08:36 -0500, John Ferlan wrote:
> Rather than continually cut-n-paste the strings into each command,
> create a common macro to be used generically.  Note that not all
> '{.name = "persistent",' entries are replaced, just those that have the
> common .help string of "make live change persistent".
> 
> Non replaced instances are unique to the command.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  tools/virsh-domain.c | 41 +++++++++++++----------------------------
>  1 file changed, 13 insertions(+), 28 deletions(-)

ACK.

-- 
Andrea Bolognani
Software Engineer - Virtualization Team




More information about the libvir-list mailing list