[libvirt] [PATCH 1/4] storage: Fix autostart dir for qemu:///session

Cole Robinson crobinso at redhat.com
Mon Apr 27 14:44:55 UTC 2015


---
 src/storage/storage_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/storage/storage_driver.c b/src/storage/storage_driver.c
index 306d98e..3b7746b 100644
--- a/src/storage/storage_driver.c
+++ b/src/storage/storage_driver.c
@@ -237,7 +237,7 @@ storageStateInitialize(bool privileged,
         if ((virAsprintf(&driver->configDir,
                         "%s/storage", configdir) < 0) ||
             (virAsprintf(&driver->autostartDir,
-                        "%s/storage", configdir) < 0) ||
+                        "%s/storage/autostart", configdir) < 0) ||
             (virAsprintf(&driver->stateDir,
                          "%s/storage/run", rundir) < 0))
             goto error;
-- 
2.3.6




More information about the libvir-list mailing list