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. 06 2月, 2009 3 次提交
    • 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
      qemud.c: use virStrerror, not strerror · d2758fa1
      Jim Meyering 提交于
      d2758fa1
  3. 28 1月, 2009 1 次提交
  4. 23 1月, 2009 3 次提交
  5. 21 1月, 2009 3 次提交
  6. 16 1月, 2009 1 次提交
  7. 13 1月, 2009 2 次提交
    • 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
    • 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
  8. 07 1月, 2009 1 次提交
  9. 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
  10. 22 12月, 2008 1 次提交
  11. 18 12月, 2008 2 次提交
  12. 12 12月, 2008 2 次提交
  13. 05 12月, 2008 5 次提交
  14. 02 12月, 2008 1 次提交
  15. 21 11月, 2008 2 次提交
  16. 20 11月, 2008 3 次提交
  17. 17 11月, 2008 1 次提交
  18. 05 11月, 2008 2 次提交
  19. 29 10月, 2008 1 次提交
  20. 23 10月, 2008 1 次提交
    • D
      Massive patch adding event APIs by Ben Guthro · 1509b802
      Daniel Veillard 提交于
      * include/libvirt/libvirt.h include/libvirt/libvirt.h.in
        src/libvirt.c src/libvirt_sym.version: new libvirt event entry
        points, big patch provided by Ben Guthro
      * Makefile.am configure.in src/driver.h src/event.c src/event.h
        src/internal.h src/libvirt.c src/libvirt_sym.version src/lxc_driver.c
        src/openvz_driver.c src/qemu_conf.h src/qemu_driver.c
        src/remote_internal.c src/storage_backend_fs.c src/test.c
        qemud/event.c qemud/event.h qemud/mdns.c qemud/qemud.c
        qemud/qemud.h qemud/remote.c qemud/remote_dispatch_localvars.h
        qemud/remote_dispatch_proc_switch.h qemud/remote_dispatch_prototypes.h
        qemud/remote_protocol.c qemud/remote_protocol.h
        qemud/remote_protocol.x proxy/Makefile.am python/generator.py:
        Not much is left untouched by the patch adding the events support
      * docs/libvirt-api.xml docs/libvirt-refs.xml
        docs/html/libvirt-libvirt.html: regenerated the docs
      * examples/domain-events/events-c/Makefile.am
        examples/domain-events/events-c/event-test.c: a test example
      * AUTHORS: added Ben Guthro
      daniel
      1509b802
  21. 30 7月, 2008 1 次提交
  22. 11 7月, 2008 1 次提交
  23. 06 6月, 2008 1 次提交