[gnome-boxes/gnome-3-16] vm-configurator: Don't create pool directory
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/gnome-3-16] vm-configurator: Don't create pool directory
- Date: Wed, 15 Jul 2015 16:58:23 +0000 (UTC)
commit 4207c2799a00f3084418a1601a2dca8c8c67617c
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Jul 15 13:07:35 2015 +0100
vm-configurator: Don't create pool directory
Seems latest libvirt errors out on building the storage pool building if
underlying directory already exists. This patch basically reverts commit
c2a77d21, which we shouldn't need anymore any way since we have code that
handles the situation of user moving or removing the directory in
VMCreator.get_storage_pool().
https://bugzilla.gnome.org/show_bug.cgi?id=752417
src/vm-configurator.vala | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index a588b11..66a75d8 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -160,7 +160,6 @@ private class Boxes.VMConfigurator {
public static StoragePool get_pool_config () throws GLib.Error {
var pool_path = get_user_pkgdata ("images");
- ensure_directory (pool_path);
var pool = new StoragePool ();
pool.set_pool_type (StoragePoolType.DIR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]