File 538e2f74-fix-pool-create-call.patch of Package virt-manager

Subject: diskbackend: Fix pool 'create' call (bz 1103442)
From: Cole Robinson crobinso@redhat.com Tue Jun 3 16:25:48 2014 -0400
Date: Tue Jun 3 16:26:28 2014 -0400:
Git: 809c5a81e5b92c335e586041af91618693724721


diff --git a/virtinst/diskbackend.py b/virtinst/diskbackend.py
index 118f649..5f72d00 100644
--- a/virtinst/diskbackend.py
+++ b/virtinst/diskbackend.py
@@ -88,7 +88,7 @@ def check_if_path_managed(conn, path):
 
         # Ensure pool is running
         if pool and pool.info()[0] != libvirt.VIR_STORAGE_POOL_RUNNING:
-            pool.start()
+            pool.create(0)
 
     # Attempt to lookup path as a storage volume
     if pool and not vol:
openSUSE Build Service is sponsored by