[gnome-boxes/wip/dont-create-pool-dir: 3/3] vm-configurator: Don't create pool directory
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/wip/dont-create-pool-dir: 3/3] vm-configurator: Don't create pool directory
- Date: Wed, 15 Jul 2015 15:31:18 +0000 (UTC)
commit 045ca982504eb845a349ecd69fb407a1a5984bbe
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().
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 1b0442c..df39b13 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -155,7 +155,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]