summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Hanxiao <chenhanxiao@cn.fujitsu.com>2013-02-21 13:27:55 +0800
committerCole Robinson <crobinso@redhat.com>2013-03-01 14:11:42 -0500
commit11539ef480a654131e487ad80aba05082b81a26c (patch)
tree29297bf833ac41e8c5ade39f32f28a956b4e5f91
parente6d5c10129d87b5268044fb0c3f1671d36f6a492 (diff)
downloadvirt-manager-11539ef480a654131e487ad80aba05082b81a26c.tar.gz
Update tips for Checkbox "Allocate entire disk now"
As discussed in: https://www.redhat.com/archives/virt-tools-list/2013-February/msg00154.html There is a bug when creating disk image as qcow2, enable fully allocating but get the minimal sparse image. We should give users a notification which describing this. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> (crobinso: tweak message a bit)
-rw-r--r--src/virtManager/uihelpers.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/virtManager/uihelpers.py b/src/virtManager/uihelpers.py
index 13cc4c10..b63c8658 100644
--- a/src/virtManager/uihelpers.py
+++ b/src/virtManager/uihelpers.py
@@ -72,7 +72,9 @@ def set_sparse_tooltip(widget):
"but the OS install phase will be quicker. \n\n"
"Skipping allocation can also cause space issues on "
"the host machine, if the maximum image size exceeds "
- "available storage space.")
+ "available storage space. \n\n"
+ "Tip: Storage format qcow2 and qed "
+ "do not support full allocation.")
util.tooltip_wrapper(widget, sparse_str)
def host_disk_space(conn):