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

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



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
disk to remove, the error could not be corrected.

This patch moves enumeration and filtering of volumes that should be
removed before the domain is undefined, but the removal process is still
kept after the domain has been undefined.
---
  tools/virsh.c |  280 +++++++++++++++++++++++++++++----------------------------
  1 files changed, 144 insertions(+), 136 deletions(-)


Thanks, I rebased this onto Osier's splitting patches and pushed.

Peter


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