
On 08/18/2011 05:41 PM, Miklos Vajna wrote:
On Mon, Aug 01, 2011 at 02:56:53PM -0600, Eric Blake<eblake@redhat.com> wrote:
Awesome idea; in fact, I think 'virsh list --all' should probably also be enhanced to do something similar (show "saved" instead of "shutoff", and perhaps requiring a new --managed-save flag so as not to break back-compat). Note that virsh 0.9.4 is gaining 'virsh dominfo' as a way of querying whether a managed save image exists (previously virsh had no way to expose that information), but 'virsh dominfo' on a single domain at a time is much slower than doing it in bulk in 'virsh list'.
Hi Eric,
You mean virsh list --all would still print "shutoff", but virsh list --all --managed-save would print "saved"?
Yes, that's what I envision; now if only I had time to write the patch... -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org