On 07/21/2011 11:11 AM, Daniel P. Berrange wrote:
It would be best if virsh would print a confirmation for each disk removed, so the admin knows whether it succeeded or not # virsh undefine foo --remove-disk-names=sda,sdc Deleted disk /path/to/disk/for/sda Failed to delete disk /path/to/disk/for/sdc
Note also that an idea like this is implementable in virsh even without adding a new flag to the virDomainUndefineFlags API. That is, there's nothing wrong with a single virsh command making multiple libvirt API calls to nicely tie together multiple concepts into an easy-to-use UI.
-- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list