[pve-devel] [PATCH qemu-server v3 34/51] blockdev: add 'no-throttle' option to skip generationg throttle top node

Fiona Ebner f.ebner at proxmox.com
Wed Jul 2 18:28:07 CEST 2025


Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
 src/PVE/QemuServer/Blockdev.pm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/PVE/QemuServer/Blockdev.pm b/src/PVE/QemuServer/Blockdev.pm
index 8439cf02..fcf5e1f3 100644
--- a/src/PVE/QemuServer/Blockdev.pm
+++ b/src/PVE/QemuServer/Blockdev.pm
@@ -355,7 +355,7 @@ sub generate_drive_blockdev {
     }
 
     # for fleecing and TPM backup, this is already the top node
-    return $child if $options->{fleecing} || $options->{'tpm-backup'};
+    return $child if $options->{fleecing} || $options->{'tpm-backup'} || $options->{'no-throttle'};
 
     # this is the top filter entry point, use $drive-drive_id as nodename
     return {
@@ -403,6 +403,8 @@ Parameters:
 
 =item C<< $options->{fleecing} >>: Generate and attach a block device for backup fleecing.
 
+=item C<< $options->{'no-throttle'} >>: Do not insert a throttle node as the top node.
+
 =item C<< $options->{'read-only'} >>: Attach the image as read-only irrespective of the
 configuration in C<$drive>.
 
-- 
2.47.2





More information about the pve-devel mailing list