- 10 2月, 2009 1 次提交
-
-
由 Jim Meyering 提交于
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".
-
- 09 2月, 2009 1 次提交
-
-
由 Jim Meyering 提交于
* qemud/mdns.c (libvirtd_mdns_timeout_new): Don't use local, t, uninitialized.
-
- 06 2月, 2009 4 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Jim Meyering 提交于
* qemud/qemud.c (GET_CONF_STR): Use virStrerror, not strerror. * qemud/remote.c (remoteDispatchDomainBlockPeek): Likewise. (remoteDispatchDomainMemoryPeek, remoteDispatchAuthSaslInit): Likewise. (remoteDispatchAuthPolkit): Likewise. * src/lxc_container.c (lxcContainerAvailable): Likewise. * src/network_driver.c (networkStartNetworkDaemon): Likewise. (networkShutdownNetworkDaemon): Likewise. * src/qemu_conf.c (qemudExtractVersion, qemudNetworkIfaceConnect): * src/storage_conf.c (virStoragePoolLoadAllConfigs): Likewise. * src/storage_driver.c (storagePoolUndefine): Likewise. * src/uml_driver.c (umlStartup, umlStartVMDaemon): Likewise. * src/util.c (virFileReadAll): Likewise. * src/uuid.c (virUUIDGenerate): Likewise. * src/xen_internal.c (get_cpu_flags): Likewise.
-
由 Jim Meyering 提交于
* src/uml_driver.c (umlStartVMDaemon): Don't print raw errno value. * qemud/remote.c (remoteDispatchAuthSaslInit): Likewise.
-
由 Jim Meyering 提交于
-
- 31 1月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 30 1月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 29 1月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 28 1月, 2009 1 次提交
-
-
由 Jim Meyering 提交于
* qemud/qemud.c (qemudClientReadBuf, qemudClientWriteBuf): Use %lld and a (long long int) cast to print a ssize_t value.
-
- 23 1月, 2009 3 次提交
-
-
由 Jim Meyering 提交于
* qemud/qemud.c (qemudInitPaths): Return right away, upon virGetUserDirectory failure.
-
由 Daniel P. Berrange 提交于
-
由 John Levon 提交于
-
- 21 1月, 2009 3 次提交
-
-
由 John Levon 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
- 16 1月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 13 1月, 2009 4 次提交
-
-
由 Jim Meyering 提交于
* qemud/qemud.c (main): Fix error s/X_OK/R_OK/ reported by Daniel Berrange.
-
由 Richard W.M. Jones 提交于
* qemud/Makefile.am: Fix invocation of rpcgen, and make sure we run the right one.
-
由 Jim Meyering 提交于
* qemud/qemud.c (remoteReadConfigFile): Don't return 0 (success) when the config file is unreadable or nonexistent Return -1, not 0, upon virConfReadFile failure. (main): If remote_config_file is not specified via --config(-f), use the default config file only if it exists. Otherwise, use /dev/null. * src/conf.c (virConfReadFile): Don't diagnose virFileReadAll failure, since it already does that.
-
由 Jim Meyering 提交于
* qemud/Makefile.am (check-local): Prefix use of test_libvirtd.aug with $(srcdir)/. Add quotes around $(AUGPARSE), in case it expands to something unusual.
-
- 09 1月, 2009 1 次提交
-
-
由 John Levon 提交于
-
- 08 1月, 2009 1 次提交
-
-
由 Jim Meyering 提交于
* qemud/.cvsignore: Add libvirtd.logrotate. * qemud/.gitignore: Regenerate.
-
- 07 1月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 06 1月, 2009 1 次提交
-
-
由 Daniel Veillard 提交于
daniel
-
- 23 12月, 2008 1 次提交
-
-
由 Daniel Veillard 提交于
* qemud/qemud.c qemud/test_libvirtd_qemu.aug tests/Makefile.am tests/daemon-conf: fix make check with the new logging support the messages now carry a timestamp which need to be removed, the daemon needs to exit if the log configuration informations are wrong and we also look at the LIBVIRT_DEBUG environment variable Daniel
-
- 22 12月, 2008 4 次提交
-
-
由 Daniel Veillard 提交于
daniel
-
由 Daniel Veillard 提交于
* qemud/libvirtd.aug qemud/libvirtd.conf: document the new options in the config file and augment the Augeas description daniel
-
由 Daniel Veillard 提交于
* qemud/event.c qemud/mdns.c qemud/remote.c: switch other pieces of the daemon to the new logging infrastructure daniel
-
由 Daniel Veillard 提交于
* qemud/qemud.c qemud/qemud.h: replace the daemon old logging infrastructure with the new one and parse configuration options daniel
-
- 18 12月, 2008 5 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Jim Meyering 提交于
* qemud/Makefile.am: Ensure that the generated remote_protocol.c includes <config.h> first. * Makefile.maint (sc_require_config_h_first): New rule, so that "make syntax-check" enforces this. * .x-sc_require_config_h_first: New file. * Makefile.am (.x-sc_require_config_h_first): Add it. * qemud/remote_protocol.x: Don't include <config.h> here. * qemud/remote_protocol.c: Regenerate.
-
- 12 12月, 2008 4 次提交
-
-
由 Jim Meyering 提交于
* po/id.po: Likewise. * qemud/remote_generate_stubs.pl: Likewise. * src/virsh.c: Likewise. * tests/testutils.c: Likewise. * tests/testutils.h: Likewise. * RENAMES: Likewise.
-
由 Jim Meyering 提交于
-
由 Daniel Veillard 提交于
* qemud/qemud.c: add --version support to libvirtd, patch by Dave Allan * AUTHORS: add Dave Allan Daniel
-
由 Jim Meyering 提交于
* qemud/Makefile.am (libvirtd_LDADD): Add gnulib's libgnu.la last. Otherwise, building with -g (no inlining) would fail due to a use of c_isspace in libvirt_driver_qemu.a, which used to followed libgnu.a in the link command.
-
- 11 12月, 2008 1 次提交
-
-
由 Jim Meyering 提交于
Distribute the new file, libvirtd.logrotate.in, and make distclean remove the build product, libvirtd.logrotate. * qemud/Makefile.am (EXTRA_DIST): Add libvirtd.logrotate.in. (DISTCLEANFILES): Initialize, and append libvirtd.logrotate.in.
-