[PATCH] remove showing incorrect partition size on guest OS installation

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

 



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 <fj7025cf@xxxxxxxxxxxxxxxxx>

---
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
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