[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[et-mgmt-tools] [PATCH] Fix tap failure



# HG changeset patch
# User john levon sun com
# Date 1228365022 28800
# Node ID 7f39e430409182ab85ba39b8f74382b1f9167736
# Parent  4082e2dd5f6eba6febc0fffa9bce7d7c04ba27fa
Fix tap failure

VirtualDisk driver name/type need setters.

Signed-off-by: John Levon <john levon sun com>

diff --git a/virtinst/VirtualDisk.py b/virtinst/VirtualDisk.py
--- a/virtinst/VirtualDisk.py
+++ b/virtinst/VirtualDisk.py
@@ -193,11 +193,15 @@ class VirtualDisk(VirtualDevice):
 
     def get_driver_name(self):
         return self._driverName
-    driver_name = property(get_driver_name)
+    def set_driver_name(self, val):
+        self._driverName = val
+    driver_name = property(get_driver_name, set_driver_name)
 
     def get_driver_type(self):
         return self._driverType
-    driver_type = property(get_driver_type)
+    def set_driver_type(self, val):
+        self._driverType = val
+    driver_type = property(get_driver_type, set_driver_type)
 
     def get_sparse(self):
         return self._sparse


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]