From nobody Mon Feb 9 08:30:49 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1559733945; cv=none; d=zoho.com; s=zohoarc; b=h6LEYfpOBoFp0pvz7FK34SkPnsWFwRie1EQkSfkEeAwOazuiDj1Cr6zJdOSLLmkdMPbd1U4QTdEGIe06s8j3VqWCCvXvPQUbSi6t/hyVZ0RcuB57VLlyT3xt2YHNR9/xC+Gcc1lnl5F769SKg8PIQaGPIgMXxmFsV0/IJE2DI/I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559733945; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=2B4u9u7Yf9m7FCucuFgw+O2XfOz8SrDLSoXTtkQutqs=; b=O0wENfAMOV3hOIHwW908YNzZBGLg+yBiqQAeD1AxDFYxbK/TL6erB+kv9JUeXpKngLIAuM5hMuzO2XLA4Q/0YpytxDe6DM0FB+whAlXeLtAEthb8DRv7UKZIaS9V1tYe1Po+hF0Jmmk2BDWzgWkq0iJlnRPplCLyUUVejCCH86k= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1559733945055736.2087452505148; Wed, 5 Jun 2019 04:25:45 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 705A7C1EB201; Wed, 5 Jun 2019 11:25:14 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8CE8861984; Wed, 5 Jun 2019 11:25:08 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 9D5C71806B0F; Wed, 5 Jun 2019 11:25:01 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x55BNkqt029952 for ; Wed, 5 Jun 2019 07:23:46 -0400 Received: by smtp.corp.redhat.com (Postfix) id 2488119C6A; Wed, 5 Jun 2019 11:23:46 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id A2B3119C65 for ; Wed, 5 Jun 2019 11:23:45 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Wed, 5 Jun 2019 13:23:40 +0200 Message-Id: <88ff2760f26ae253764b2a0faae65c06cf9f1400.1559733766.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 3/3] virsh: undefine: Clarify that --delete-storage-volume-snapshots causes failures X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 05 Jun 2019 11:25:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" The flag causes undefine to fail if trying to remove a non-RBD disk. Add a warning about that. Signed-off-by: Peter Krempa --- tools/virsh.pod | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index fd9ba00d1f..11e853deea 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -2936,7 +2936,8 @@ The I<--delete-storage-volume-snapshots> (previously = I<--delete-snapshots>) flag specifies that any snapshots associated with the storage volume should be deleted as well. Requires the I<--remove-all-storage> flag to be provided. Not all storage drivers -support this option, presently only rbd. +support this option, presently only rbd. Using this when also removing vol= umes +handled by storage driver which does not support the flag will result in f= ailure. The flag I<--wipe-storage> specifies that the storage volumes should be wiped before removal. --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list