Re: virsh list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 04, 2008 at 01:19:48AM -0500, Daniel Veillard wrote:

> > Well, you've hit upon a good question here. Is virsh interactive, or
> > scriptable? Within Sun we generally attempt to clearly delineate these
> > things, precisely for reasons like the above.
> 
>   well to me clearly it was designed to be both, clearly it's intended to

This is almost always a bad idea IMHO.

>   Disagreed, adding a field at the end probably won't break most scripts
> using sed/awk to extract data, but showing stopped machines will.
>   But we can add a 'virsh show' command doing a complete listing, then
> it's just a matter of rerouting a few synapses, easier done than changing
> running code ;-)

virsh show doesn't help at all, as it's not any easier to remember than
'--all'. The whole problem is that it's non-obvious (and completely
different to xm) that the list doesn't include non-running domains.

regards,
john

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]