[libvirt] [PATCH 4/6] virsh: Create macro for "overwrite" and no-overwrite" options

Peter Krempa pkrempa at redhat.com
Wed Dec 16 13:35:41 UTC 2015


On Wed, Dec 16, 2015 at 14:18:22 +0100, Michal Privoznik wrote:
> On 25.11.2015 20:11, John Ferlan wrote:
> > Although not currently used in more than one command, it soon will be
> > so create a common macro to be used in the new command location.
> > 
> > Additionally, add the ".flags = 0," for both to match the expections
> > of the structure being predefined.
> > 
> > Signed-off-by: John Ferlan <jferlan at redhat.com>
> > ---
> >  tools/virsh-pool.c | 24 ++++++++++++++++--------
> >  1 file changed, 16 insertions(+), 8 deletions(-)
> > 
> 
> ACK

I don't really fancy this one. It introduces the macro for a very
uncommon option value. If it will be used more that 10 times it would
make sense. For 2 or 3 uses it does not.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151216/6885a88f/attachment-0001.sig>


More information about the libvir-list mailing list