Re: [PATCH RFC 3/3] undefine: Add coresponding switches to virsh, for removing storage devices associated with domain

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

 



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


[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]