Re: [libvirt] [PATCH] virsh: Check for existence of storage before undefining the domain

2012-07-26 Thread Peter Krempa
On 07/23/12 23:23, Eric Blake wrote: On 06/22/2012 09:21 AM, Peter Krempa wrote: When undefining a domain and removing associated storage using "virsh undefine --storage" the domain was at first undefined and after that the storage removal proces was started. If the user specified an invalid dis

Re: [libvirt] [PATCH] virsh: Check for existence of storage before undefining the domain

2012-07-23 Thread Eric Blake
On 06/22/2012 09:21 AM, Peter Krempa wrote: > When undefining a domain and removing associated storage using "virsh > undefine --storage" the domain was at first undefined and after that the > storage removal proces was started. If the user specified an invalid > disk to remove, the error could not

Re: [libvirt] [PATCH] virsh: Check for existence of storage before undefining the domain

2012-07-23 Thread Peter Krempa
On 06/22/12 17:21, Peter Krempa wrote: When undefining a domain and removing associated storage using "virsh undefine --storage" the domain was at first undefined and after that the storage removal proces was started. If the user specified an invalid disk to remove, the error could not be correct

Re: [libvirt] [PATCH] virsh: Check for existence of storage before undefining the domain

2012-07-09 Thread Peter Krempa
On 06/22/12 17:21, Peter Krempa wrote: When undefining a domain and removing associated storage using "virsh undefine --storage" the domain was at first undefined and after that the storage removal proces was started. If the user specified an invalid disk to remove, the error could not be correct

[libvirt] [PATCH] virsh: Check for existence of storage before undefining the domain

2012-06-22 Thread Peter Krempa
When undefining a domain and removing associated storage using "virsh undefine --storage" the domain was at first undefined and after that the storage removal proces was started. If the user specified an invalid disk to remove, the error could not be corrected. This patch moves enumeration and fil