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

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


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