1. 03 3月, 2009 1 次提交
    • D
      Implement node attach/reattach/reset in the remote driver · 02311028
      Daniel Veillard 提交于
      * qemud/remote.c qemud/remote_dispatch_args.h
        qemud/remote_dispatch_prototypes.h qemud/remote_dispatch_table.h
        qemud/remote_protocol.c qemud/remote_protocol.h
        qemud/remote_protocol.x src/remote_internal.c: Implement
        attach/reattach/reset in the remote driver, patch by Mark
        McLoughlin.
      Daniel
      02311028
  2. 02 3月, 2009 1 次提交
  3. 17 2月, 2009 4 次提交
  4. 14 2月, 2009 1 次提交
    • M
      Fix bridge.c warnings with gcc-4.4 · 9fec27be
      Mark McLoughlin 提交于
       bridge.c: In function 'brSetInetAddr':
       bridge.c:665: error: dereferencing pointer '({anonymous})' does break strict-aliasing rules
       bridge.c:665: note: initialized from here
       bridge.c:666: error: dereferencing pointer '({anonymous})' does break strict-aliasing rules
       bridge.c:666: note: initialized from here
      
      Fix qemud.c warnings with gcc-4.4
      
       qemud.c: In function ‘remoteListenTCP’:
       qemud.c:675: error: dereferencing pointer ‘sa.72’ does break strict-aliasing rules
       qemud.c:675: note: initialized from here
       qemud.c:678: error: dereferencing pointer ‘sa.73’ does break strict-aliasing rules
       qemud.c:678: note: initialized from here
      9fec27be
  5. 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
  6. 09 2月, 2009 1 次提交
  7. 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
  8. 31 1月, 2009 1 次提交
  9. 30 1月, 2009 1 次提交
  10. 29 1月, 2009 1 次提交
  11. 28 1月, 2009 1 次提交
  12. 23 1月, 2009 3 次提交
  13. 21 1月, 2009 3 次提交
  14. 16 1月, 2009 1 次提交
  15. 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
  16. 09 1月, 2009 1 次提交
  17. 08 1月, 2009 1 次提交
  18. 07 1月, 2009 1 次提交
  19. 06 1月, 2009 1 次提交
  20. 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
  21. 22 12月, 2008 4 次提交
  22. 18 12月, 2008 3 次提交