[pve-devel] [PATCH qemu-server 17/22] print drive device: set {r, w}error front-end properties starting with machine version 10.0
Fiona Ebner
f.ebner at proxmox.com
Thu Jun 12 16:02:48 CEST 2025
These properties cannot be specified via '-blockdev' like they could
with '-drive', because they are properties of the front-end drive
device.
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
PVE/QemuServer.pm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index f9e1b3f9..90d07cee 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -1412,6 +1412,9 @@ sub print_drivedevice_full {
}
$device .= ",write-cache=$write_cache";
}
+ for my $o (qw(rerror werror)) {
+ $device .= ",$o=$drive->{$o}" if defined($drive->{$o});
+ }
}
return $device;
--
2.39.5
More information about the pve-devel
mailing list