[Pkg-libvirt-commits] [SCM] Virt Manager packaging branch, master, updated. debian/0.6.0-4-1-g2c57e52

Guido Guenther agx at sigxcpu.org
Tue Oct 14 21:53:09 UTC 2008


The following commit has been merged in the master branch:
commit 2c57e528e0f43826f19671d7fa64c4731f11844c
Author: Guido Günther <agx at sigxcpu.org>
Date:   Tue Oct 14 21:02:08 2008 +0200

    Don't try to use the storage pool with qemu:///session
    
    (0008-qemu-session-can-t-write-to-the-pool-so-use-curren.patch)
    Closes: #500260

diff --git a/debian/patches/0008-qemu-session-can-t-write-to-the-pool-so-use-curren.patch b/debian/patches/0008-qemu-session-can-t-write-to-the-pool-so-use-curren.patch
new file mode 100644
index 0000000..6d3c3dc
--- /dev/null
+++ b/debian/patches/0008-qemu-session-can-t-write-to-the-pool-so-use-curren.patch
@@ -0,0 +1,30 @@
+From 04d2ced0399ba2333e93ae98c150730b9e1574fe Mon Sep 17 00:00:00 2001
+From: =?utf-8?q?Guido=20G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Tue, 14 Oct 2008 20:59:41 +0200
+Subject: [PATCH] qemu://session can't write to the pool so use current directory
+
+---
+ src/virtManager/config.py |    7 +++----
+ 1 files changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/src/virtManager/config.py b/src/virtManager/config.py
+index da8d6db..9d7d6fd 100644
+--- a/src/virtManager/config.py
++++ b/src/virtManager/config.py
+@@ -380,10 +380,9 @@ class vmmConfig:
+     def get_default_image_dir(self, connection):
+         if connection.get_type() == "Xen":
+             return DEFAULT_XEN_IMAGE_DIR
+-        #elif os.access(DEFAULT_VIRT_IMAGE_DIR, os.W_OK):
+-        #    return DEFAULT_VIRT_IMAGE_DIR
+-        #else:
+-        #    return os.getcwd()
++
++        if connection.is_qemu_session():
++            return os.getcwd()
+ 
+         # Just return the default dir since the intention is that it
+         # is a managed pool and the user will be able to install to it.
+-- 
+1.6.0.1
+
diff --git a/debian/patches/series b/debian/patches/series
index 3c3eb28..6e0dcaf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
 0005-clear-list-of-optical-devices.patch
 0006-fix-sorting-exceptions.patch
 0007-populate-hostinfo-earlier-in-tick-function-so-it-isn.patch
+0008-qemu-session-can-t-write-to-the-pool-so-use-curren.patch

-- 
Virt Manager packaging



More information about the Pkg-libvirt-commits mailing list