[libvirt] [PATCH] virsh: fix uninitialized variable in cmdSnapshotEdit

Ján Tomko jtomko at redhat.com
Fri Nov 16 11:10:10 UTC 2012

On 11/16/12 11:58, Christophe Fergeau wrote:
> Shouldn't we call vshError with a different message in the !ret && !name case?
> Christophe
vshCommandOptDomain and vshLookupSnapshot already give reasonable error
messages in that case. For non-existent domains:

error: failed to get domain 'bla'
error: Domain not found: no domain with matching name 'bla'

And for snapshots:
error: Domain snapshot not found: no domain snapshot with matching name

More information about the libvir-list mailing list