[pve-devel] [PATCH qemu-server] Fix #1057: make protection a fast-plug option

Wolfgang Bumiller w.bumiller at proxmox.com
Tue Jul 19 09:17:36 CEST 2016


Otherwise you need to shutdown a VM to disable protection,
which is inconvenient for a few tasks such as for instance
deleting an unused disk.
---
This is already the case for containers btw.

 PVE/QemuServer.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index fb91862..7778fb8 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -3871,6 +3871,7 @@ my $fast_plug_option = {
     'shares' => 1,
     'startup' => 1,
     'description' => 1,
+    'protection' => 1,
 };
 
 # hotplug changes in [PENDING]
-- 
2.1.4





More information about the pve-devel mailing list