From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id AA2F91FF183 for ; Wed, 18 Jun 2025 13:39:49 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 8A7ED10914; Wed, 18 Jun 2025 13:40:17 +0200 (CEST) Message-ID: <36234608-cb6a-4d47-8cac-e3a477d2816c@proxmox.com> Date: Wed, 18 Jun 2025 13:39:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Fiona Ebner To: Proxmox VE development discussion References: <20250612140253.106555-1-f.ebner@proxmox.com> <20250612140253.106555-23-f.ebner@proxmox.com> Content-Language: en-US In-Reply-To: X-SPAM-LEVEL: Spam detection results: 0 AWL -0.031 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [RFC qemu-server 22/22] command line: switch to blockdev starting with machine version 10.0 X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Am 16.06.25 um 12:40 schrieb DERUMIER, Alexandre via pve-devel: >>> + # QEMU recursively auto-removes the file children, i.e. file >>> and format node below the top > > From my tests, it's not removing backing nodes when snapshots are used, > at least when then are defined with nodename. Don't have tested with > autogenerated backing nodes, I'll verify with linked qcow2 clones. Yes, the comment explicitly mentions 'file' children, not 'backing'. But actually, implicit backing children (i.e. for linked clones) seem to also be removed just fine: > [I] root@pve8a1 ~# cat /etc/pve/qemu-server/600.conf | grep disk-0.qcow2 > scsi1: nfs:109/base-109-disk-0.qcow2/600/vm-600-disk-0.qcow2,iothread=1,size=1G > [I] root@pve8a1 ~# echo '{"execute": "qmp_capabilities"}{"execute": "query-named-block-nodes"}' | socat - /var/run/qemu-server/600.qmp | jq | grep disk-0.qcow2 | wc -l > 18 > [I] root@pve8a1 ~# qm set 600 --delete scsi1 > update VM 600: -delete scsi1 > [I] root@pve8a1 ~# echo '{"execute": "qmp_capabilities"}{"execute": "query-named-block-nodes"}' | socat - /var/run/qemu-server/600.qmp | jq | grep disk-0.qcow2 | wc -l > 0 If you need further functionality for the external snapshot support, you can add it later :) _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel