766768c9d2
opensuse13.img for SLE-Server virtinst-detect-suse-distros.patch - bnc#881549 - virt-manager/xen: Error changing VM configuration: 'NoneType' object has no attribute 'split' virtinst-xenbus-disk-index-fix.patch - Upstream bug fix 538edb3b-manpage-fix-incorrect-description.patch - Upstream bug fixes 536677aa-better-handling-of-keyboard-input-type.patch 5385d602-lxc-no-default-disk.patch 53869170-virt-install-add-events-support.patch 538a11dc-raise-error-if-populating-summary-page-fails.patch 538a3609-virtconv-fix-use-of-relative-OVF-file.patch 538a3ba9-diskbackend-start-pool-if-not-running.patch 538ca3f3-use-correct-dictionary-keys-for-old-pool-net-polling.patch 538d00a4-xen-keyboard-cant-be-removed.patch 538e2f74-fix-pool-create-call.patch - Dropped 531e0a82-reverse-keyboard-grab-commit.patch. Fixed instead with this patch. 538a6862-vnc-dont-force-keyboard-grab-before-widget-is-realized.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=182
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
From a56edc5b454f5ac428e5a9380665001889cb017c Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= <cbosdonnat@suse.com>
|
|
Date: Tue, 27 May 2014 10:52:35 +0200
|
|
Subject: [PATCH] Don't create a qemu disk image when creating containers
|
|
|
|
Make sure we don't create a default disk image if the option is checked
|
|
but not visible as this is the case for containers
|
|
---
|
|
virtManager/addstorage.py | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
Index: virt-manager-1.0.1/virtManager/addstorage.py
|
|
===================================================================
|
|
--- virt-manager-1.0.1.orig/virtManager/addstorage.py
|
|
+++ virt-manager-1.0.1/virtManager/addstorage.py
|
|
@@ -258,7 +258,8 @@ class vmmAddStorage(vmmGObjectUI):
|
|
return path
|
|
|
|
def is_default_storage(self):
|
|
- return self.widget("config-storage-create").get_active()
|
|
+ return self.widget("config-storage-create").is_visible() and \
|
|
+ self.widget("config-storage-create").get_active()
|
|
|
|
def _check_ideal_path(self, path, vmname, collidelist):
|
|
# See if the ideal disk path (/default/pool/vmname.img)
|