mirror of
https://src.fedoraproject.org/rpms/virt-manager.git
synced 2025-07-16 09:04:55 +00:00
Fix CDROM media change if device is bootable (bz #1229819) Fix adding iscsi pools (bz #1231558) spec: Add LXC to default connection list (bz #1235972) Fix backtrace when reporting OS error (bz #1241902) Raise upper limits for lxc ID namespaces (bz #1244490) Fix 'copy host CPU definition' Fix displaying VM machine type when connecting to old libvirt Fix qemu:///session handling in 'Add Connection' dialog Fix default storage path for qemu:///session, it should be .local/share/...
26 lines
840 B
Diff
26 lines
840 B
Diff
From: Cole Robinson <crobinso@redhat.com>
|
|
Date: Mon, 10 Aug 2015 12:35:13 -0400
|
|
Subject: [PATCH virt-manager] storage: session path should be
|
|
~/.local/share/libvirt/images
|
|
|
|
Not .local/libvirt/images :/ App dirs aren't supposed to be in ~/.local
|
|
|
|
(cherry picked from commit e22aeac5ae23b03e79e1d18c5fc7c6f2ca8b7a8d)
|
|
---
|
|
virtinst/storage.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/virtinst/storage.py b/virtinst/storage.py
|
|
index 9e90db8..285acb8 100644
|
|
--- a/virtinst/storage.py
|
|
+++ b/virtinst/storage.py
|
|
@@ -81,7 +81,7 @@ class _StorageObject(XMLBuilder):
|
|
def _get_default_pool_path(conn):
|
|
path = "/var/lib/libvirt/images"
|
|
if conn.is_session_uri():
|
|
- path = os.path.expanduser("~/.local/libvirt/images")
|
|
+ path = os.path.expanduser("~/.local/share/libvirt/images")
|
|
return path
|
|
|
|
|