]> xenbits.xensource.com Git - libvirt.git/commit
Use XDG Base Directories instead of storing in home directory
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Thu, 3 May 2012 16:36:27 +0000 (12:36 -0400)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 14 May 2012 14:15:58 +0000 (15:15 +0100)
commit32a9aac2e04c991340b66c855a1095e4e6445e54
tree8eed8200e2fcaffe072607456290ac5d68d9b089
parenta25d5cfd805d1da9588546c30e6f1ec8cb06c819
Use XDG Base Directories instead of storing in home directory

As defined in:
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

This offers a number of advantages:
 * Allows sharing a home directory between different machines, or
sessions (eg. using NFS)
 * Cleanly separates cache, runtime (eg. sockets), or app data from
user settings
 * Supports performing smart or selective migration of settings
between different OS versions
 * Supports reseting settings without breaking things
 * Makes it possible to clear cache data to make room when the disk
is filling up
 * Allows us to write a robust and efficient backup solution
 * Allows an admin flexibility to change where data and settings are stored
 * Dramatically reduces the complexity and incoherence of the
system for administrators
20 files changed:
AUTHORS
daemon/libvirtd-config.c
daemon/libvirtd.c
daemon/libvirtd.pod.in
docs/auth.html.in
docs/uri.html.in
src/libvirt.c
src/libvirt_private.syms
src/network/bridge_driver.c
src/nwfilter/nwfilter_driver.c
src/qemu/qemu_driver.c
src/remote/remote_driver.c
src/remote/remote_driver.h
src/secret/secret_driver.c
src/storage/storage_driver.c
src/uml/uml_driver.c
src/util/util.c
src/util/util.h
src/util/virauth.c
tools/virsh.c