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.eb...@proxmox.com>
---

No changes in v2.

 src/PVE/QemuServer.pm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/PVE/QemuServer.pm b/src/PVE/QemuServer.pm
index 0b983ab9..b9bc6b53 100644
--- a/src/PVE/QemuServer.pm
+++ b/src/PVE/QemuServer.pm
@@ -1498,6 +1498,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



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to