[PATCH] Fix tap failure

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

 



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

VirtualDisk driver name/type need setters.

Signed-off-by: John Levon <john.levon@xxxxxxx>

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

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux