virt-manager/virtman-fix-storage_capable.diff
Charles Arnold 8e527d3db7 - Upstream fixes
virtman-fix-storage_capable.diff
  virtman-fix-ui-resize.diff
  virtman-fix-type.diff
  virtman-fix-addhw-nonhotplug.diff
  virtman-fix-no-nic-present.diff
  virtman-fix-ui-cleanup.diff

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=53
2011-07-08 22:29:58 +00:00

22 lines
852 B
Diff

Subject: host: Fix busted use of conn.storage_capable
From: Cole Robinson crobinso@redhat.com Sat Apr 9 21:27:41 2011 -0400
Date: Sat Apr 9 21:55:41 2011 -0400:
Git: 239015d2486d6b41c49ff8fd8a84a0c454f386c9
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Index: virt-manager-0.8.7/src/virtManager/host.py
===================================================================
--- virt-manager-0.8.7.orig/src/virtManager/host.py
+++ virt-manager-0.8.7/src/virtManager/host.py
@@ -365,7 +365,7 @@ class vmmHost(vmmGObjectUI):
_("Libvirt connection does not support virtual network "
"management."))
- if not self.conn.storage_capable:
+ if not self.conn.is_storage_capable():
self.set_storage_error_page(
_("Libvirt connection does not support storage management."))