From 11539ef480a654131e487ad80aba05082b81a26c Mon Sep 17 00:00:00 2001 From: Chen Hanxiao Date: Thu, 21 Feb 2013 13:27:55 +0800 Subject: [PATCH] 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 (crobinso: tweak message a bit) --- src/virtManager/uihelpers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/virtManager/uihelpers.py b/src/virtManager/uihelpers.py index 13cc4c102..b63c86581 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):