1. 17 2月, 2009 1 次提交
  2. 14 2月, 2009 8 次提交
    • M
      Add virFileWriteStr() · 0bb6f816
      Mark McLoughlin 提交于
      Re-factor the code from networkEnableIpForwarding() into a
      utility function in preparation for code which writes to
      sysfs files.
      0bb6f816
    • M
      Fix some error strings in xml.c · f6a5e8f7
      Mark McLoughlin 提交于
      Just some copy-and-paste mixups.
      f6a5e8f7
    • M
      virXPathInt() and virXPathUInt() don't exist · c4602255
      Mark McLoughlin 提交于
      It looks like these functions have never existed.
      c4602255
    • M
      Fix bugzilla link in virsh man page · 62e45f57
      Mark McLoughlin 提交于
      Note, I haven't generated a new virsh.1 because Pod::Man 2.16
      gives a bunch of warnings even with the existing version.
      62e45f57
    • M
      Fix libvirt_proxy.c warnings from gcc-4.4 · 6d69d5ea
      Mark McLoughlin 提交于
       libvirt_proxy.c: In function 'proxyReadClientSocket':
       libvirt_proxy.c:659: error: dereferencing pointer 'req' does break strict-aliasing rules
       libvirt_proxy.c:657: error: dereferencing pointer 'req' does break strict-aliasing rules
       libvirt_proxy.c:655: error: dereferencing pointer 'req' does break strict-aliasing rules
       ...
      6d69d5ea
    • 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
    • J
      Fix migrate for Xen 3.3 · 7d2b7ad5
      John Levon 提交于
      7d2b7ad5
    • J
      test:///default driver: don't dereference NULL "def" · f98b9e05
      Jim Meyering 提交于
      * src/test.c (testNetworkCreate, testNetworkDefine): Since "def" is
      set to NULL immediately after any vir*AssignDef call (to indicate we
      no longer own it and to ensure no clean-up path mistakenly frees it),
      dereference via net->def->, not def->.
      f98b9e05
  3. 13 2月, 2009 1 次提交
  4. 12 2月, 2009 1 次提交
  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 5 次提交
  7. 08 2月, 2009 1 次提交
  8. 06 2月, 2009 17 次提交
  9. 05 2月, 2009 1 次提交
  10. 04 2月, 2009 1 次提交
  11. 03 2月, 2009 3 次提交
    • J
      avoid a format-related warning · 6778ad0f
      Jim Meyering 提交于
      * src/qemu_driver.c (qemudStartVMDaemon): Use "%s".
      6778ad0f
    • J
      build: enable redundant-const check · dff21147
      Jim Meyering 提交于
      * Makefile.cfg (local-checks-to-skip): Remove sc_redundant_const.
      * src/lxc_controller.c: Remove redundant "const"(s).
      * src/storage_backend_fs.c: Likewise.
      * src/util.h: Likewise.
      * src/xen_internal.c: Likewise.
      * tests/qparamtest.c: Likewise.
      dff21147
    • J
      syntax-check: enable more checks · 08f87e3d
      Jim Meyering 提交于
      * Makefile.cfg (local-checks-to-skip): Don't skip sc_m4_quote_check.
      Don't skip sc_prohibit_nonreentrant.
      * Makefile.nonreentrant (NON_REENTRANT): Comment out until we've
      remove all remaining uses of strerror.
      08f87e3d