1. 10 2月, 2009 1 次提交
    • J
      libvirtd: new config-file option: unix_sock_dir · 98352a10
      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".
      98352a10
  2. 09 2月, 2009 1 次提交
  3. 06 2月, 2009 4 次提交
    • D
      9a867164
    • J
      remove remainder of offending strerror uses · bafd7389
      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.
      bafd7389
    • J
      don't include raw errno in diagnostics · d22a844b
      Jim Meyering 提交于
      * src/uml_driver.c (umlStartVMDaemon): Don't print raw errno value.
      * qemud/remote.c (remoteDispatchAuthSaslInit): Likewise.
      d22a844b
    • J
      qemud.c: use virStrerror, not strerror · d2758fa1
      Jim Meyering 提交于
      d2758fa1
  4. 31 1月, 2009 1 次提交
  5. 30 1月, 2009 1 次提交
  6. 29 1月, 2009 1 次提交
  7. 28 1月, 2009 1 次提交
  8. 23 1月, 2009 3 次提交
  9. 21 1月, 2009 3 次提交
  10. 16 1月, 2009 1 次提交
  11. 13 1月, 2009 4 次提交
    • J
      qemud.c: fix error in yesterday's change: s/X_OK/R_OK/ · 37abbb38
      Jim Meyering 提交于
      * qemud/qemud.c (main): Fix error s/X_OK/R_OK/ reported by
      Daniel Berrange.
      37abbb38
    • R
      Fix invocation of rpcgen. · e0a2770f
      Richard W.M. Jones 提交于
      	* qemud/Makefile.am: Fix invocation of rpcgen, and make sure
      	we run the right one.
      e0a2770f
    • J
      diagnose "libvirtd --config=no-such-file" · 6954d44e
      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.
      6954d44e
    • J
      fix non-srcdir build failure · 1c947488
      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.
      1c947488
  12. 09 1月, 2009 1 次提交
  13. 08 1月, 2009 1 次提交
  14. 07 1月, 2009 1 次提交
  15. 06 1月, 2009 1 次提交
  16. 23 12月, 2008 1 次提交
    • D
      fix make check with the new logging support · b4962134
      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
      b4962134
  17. 22 12月, 2008 4 次提交
  18. 18 12月, 2008 5 次提交
  19. 12 12月, 2008 4 次提交
  20. 11 12月, 2008 1 次提交
    • J
      avoid a new "make distcheck" failure · bd0af108
      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.
      bd0af108