[pve-devel] [PATCH 1/6] Add hotplug option

Derumier Alexandre aderumier at odiso.com
Mon Oct 10 16:46:53 CEST 2011


Signed-off-by: Derumier Alexandre <aderumier at odiso.com>
---
 PVE/QemuServer.pm |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 82cadf5..f5b5103 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -153,6 +153,12 @@ my $confdesc = {
 	description => "Automatic restart after crash (currently ignored).",
 	default => 0,
     },
+    hotplug => {
+        optional => 1,
+        type => 'integer',
+        description => "Activate hotplug for disk and network device",
+        default => 0,
+    },
     reboot => {
 	optional => 1,
 	type => 'boolean',
-- 
1.7.2.5




More information about the pve-devel mailing list