When we install guest OS to a partition by virt-manager,
the "Ready to begin installation" window shows
the size of "Simple File", NOT the size of the partition.

I make a patch that it displays "-" as the size of the storage-partition
for this partition case.

Signed-off-by: Hiroyuki Kaguchi <[EMAIL PROTECTED]>

---
diff -r 2ea7f77b0339 src/virtManager/create.py
--- a/src/virtManager/create.py Fri Mar 28 13:37:27 2008 -0400
+++ b/src/virtManager/create.py Mon Mar 31 17:51:32 2008 +0900
@@ -392,6 +392,8 @@ class vmmCreate(gobject.GObject):
             return self.window.get_widget("storage-file-address").get_text()

     def get_config_disk_size(self):
+        if not self.window.get_widget("storage-file-backed").get_active():
+            return None
         if not self.window.get_widget("storage-file-size").get_editable():
             return None
         else:



_______________________________________________
et-mgmt-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Reply via email to