[libvirt] [PATCH 3/3] cmdDomIfAddr: Move domain lookup down a few lines

Daniel P. Berrangé berrange at redhat.com
Tue Jan 7 14:07:29 UTC 2020


On Tue, Jan 07, 2020 at 09:41:54AM +0100, Michal Privoznik wrote:
> The 'domifaddr' command accepts several arguments. Let's validate
> them first and look up domain to work with only after to save
> some RPC cycles should validation fail.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  tools/virsh-domain-monitor.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list