libvirt/qemud
Jim Meyering 98352a103b libvirtd: new config-file option: unix_sock_dir
Before this change, the unix socket directory was hard-coded
to be e.g., /var/run/libvirt for euid==0 and ~/.libvirt otherwise.
With this change, you may now specify that directory in libvirtd's
config file via a line like this: unix_sock_dir = "/var/run/libvirt".
This is essential for running tests that do not impinge on any
existing libvirtd process, and in running tests in parallel.
* qemud/libvirtd.conf (unix_sock_dir): Add comment and example.
* qemud/qemud.h (struct qemud_server) [logDir]: Change type
from char[PATH_MAX] to char*.
* qemud/qemud.c (unix_sock_dir): New global
(remoteReadConfigFile): Set the global.
(qemudInitPaths): Use the global, unix_sock_dir, if non-NULL.
One minor improvement: unlink both sockets or none, never
just one of them.
(qemudCleanup): Free logDir.
(main): Use the new global rather than hard-coding "/run/libvirt".
* qemud/libvirtd.aug (sock_acl_entry): Add "unix_sock_dir".
2009-02-09 17:52:38 +00:00
..
.cvsignore ignore generated libvirtd.logrotate. 2009-01-07 17:09:06 +00:00
.gitignore ignore generated libvirtd.logrotate. 2009-01-07 17:09:06 +00:00
default-network.xml
event.c Fix 100% libvirt CPU usage when --timeout is set 2009-02-06 14:43:52 +00:00
event.h Make event loop thread safe & re-entrant safe 2008-12-04 22:14:15 +00:00
libvirtd_qemu.aug Support VNC password setting in QEMU driver 2009-01-29 17:50:00 +00:00
libvirtd.aug libvirtd: new config-file option: unix_sock_dir 2009-02-09 17:52:38 +00:00
libvirtd.conf libvirtd: new config-file option: unix_sock_dir 2009-02-09 17:52:38 +00:00
libvirtd.init.in virDomainMemoryPeek API 2008-06-10 10:43:28 +00:00
libvirtd.logrotate.in logrotate qemu monitor logs 2008-12-09 20:22:39 +00:00
libvirtd.policy Default to admin auth for polkit. Rename policy file 2008-07-11 09:51:25 +00:00
libvirtd.sasl Remove all trailing blanks; turn on the rule to detect them. 2008-02-05 19:27:37 +00:00
libvirtd.sysconf Initial integration of SASL authentication, working for Kerberos only 2007-12-05 15:24:15 +00:00
Makefile.am Support VNC password setting in QEMU driver 2009-01-29 17:50:00 +00:00
mdns.c don't print uninitialized in debug diagnostic 2009-02-09 15:38:06 +00:00
mdns.h * NEWS virsh.1 docs//* include/libvirt/libvirt.h[.in] qemud/mdns.h 2008-03-17 10:27:31 +00:00
qemud.c libvirtd: new config-file option: unix_sock_dir 2009-02-09 17:52:38 +00:00
qemud.h libvirtd: new config-file option: unix_sock_dir 2009-02-09 17:52:38 +00:00
remote_dispatch_args.h Change RPC dispatch to use an array lookup for handler functions 2008-12-04 22:03:24 +00:00
remote_dispatch_prototypes.h Use a thread pool for RPC dispatch 2008-12-04 22:16:40 +00:00
remote_dispatch_ret.h Change RPC dispatch to use an array lookup for handler functions 2008-12-04 22:03:24 +00:00
remote_dispatch_table.h Change RPC dispatch to use an array lookup for handler functions 2008-12-04 22:03:24 +00:00
remote_generate_stubs.pl remove cvs $Id$ strings 2008-12-12 12:45:34 +00:00
remote_protocol.c Solaris portability for RPC code data types 2009-01-28 21:33:56 +00:00
remote_protocol.h Solaris portability for RPC code data types 2009-01-28 21:33:56 +00:00
remote_protocol.x enforce the "include <config.h> first" rule 2008-12-17 17:23:21 +00:00
remote.c remove remainder of offending strerror uses 2009-02-05 16:28:30 +00:00
rpcgen_fix.pl Solaris portability for RPC code data types 2009-01-28 21:33:56 +00:00
test_libvirtd_qemu.aug Support VNC password setting in QEMU driver 2009-01-29 17:50:00 +00:00
test_libvirtd.aug Support VNC password setting in QEMU driver 2009-01-29 17:50:00 +00:00
THREADING.txt Use a thread pool for RPC dispatch 2008-12-04 22:16:40 +00:00