1. 12 5月, 2011 2 次提交
    • E
      node_device: avoid null dereference on error · 98cd17bd
      Eric Blake 提交于
      If we plow on after udev_device_get_syspath fails, we will hit a NULL
      dereference.  Clang found one due to strdup later in udevSetParent,
      but in fact we hit a NULL dereference sooner because of the use of
      STREQ within virNodeDeviceFindBySysfsPath.
      
      * src/conf/node_device_conf.h (virNodeDeviceFindBySysfsPath): Mark
      path argument non-null.
      * src/node_device/node_device_udev.c (udevSetParent): Avoid null
      dereference.
      98cd17bd
    • E
      build: remove some dead assignments · 4c6ae9ae
      Eric Blake 提交于
      No syntactic effect; this merely silences some clang warnings.
      
      * src/libxl/libxl_driver.c (libxlDomainSetVcpusFlags): Drop
      redundant ret=0 statement.
      * src/qemu/qemu_monitor_text.c (qemuMonitorTextDriveDel):
      Likewise.
      4c6ae9ae
  2. 11 5月, 2011 27 次提交
  3. 10 5月, 2011 4 次提交
  4. 09 5月, 2011 5 次提交
  5. 07 5月, 2011 2 次提交
    • D
      build: Remove all generated RPC files from GIT · 3496b7f5
      Daniel P. Berrange 提交于
      Stop storing the generated files for the remote protocol client
      and server in source control. The generated files will still be
      included in the result of 'make dist' to avoid end-users needing
      to generate the files
      Signed-off-by: NEric Blake <eblake@redhat.com>
      
      Unfortunately, this means that the strings marked for translation
      in generated files are not picked up by gnulib's syntax-check,
      I'm working on fixing that in gnulib.
      
      * .gitignore, cfg.mk, po/POTFILES.in: Reflect deletion.
      3496b7f5
    • D
      build: refactor generated RPC files · fb1e8d9c
      Daniel P. Berrange 提交于
      Always generate the rpc files, and require rpcgen during bootstrap.
      
      * daemon/Makefile.am: Removed generated files with
        maintainer-clean target
      * src/Makefile.am: Removed generated files with
        maintainer-clean target. Always run 'rpcgen' if
        generated files are missing
      fb1e8d9c