1. 30 10月, 2010 2 次提交
    • K
    • K
      add compression support for "virsh dump" · 95a17abd
      KAMEZAWA Hiroyuki 提交于
      Add dump_image_format[] to qemu.conf and support compressed dump
      at virsh dump. coredump compression is important for saving disk space
      in an environment where multiple guests run.
      
      In general, "disk space for dump" is specially allocated and will be
      a dead space in the system. It's used only at emergency. So, it's better
      to have both of save_image_format and dump_image_format. "save" is done
      in scheduled manner with enough calculated disk space for it.
      
      This code reuses some of save_image_format[] and supports the same format.
      
      Changelog:
       - modified libvirtd_qemu.aug
       - modified test_libvirtd_qemu.aug
       - fixed error handling of qemudSaveCompressionTypeFromString()
      95a17abd
  2. 29 10月, 2010 7 次提交
  3. 28 10月, 2010 15 次提交
  4. 27 10月, 2010 8 次提交
  5. 26 10月, 2010 8 次提交
    • E
      virsh: fix range of memtune command · 009035ff
      Eric Blake 提交于
      * tools/virsh.c (cmdMemtune): Use long long for memory
      sizes. Simplify allocation, and plug memory leak.
      009035ff
    • E
      virsh: improve help text where integers are expected · c1564268
      Eric Blake 提交于
      * tools/virsh.c (opts_freecell, opts_memtune, opts_vcpupin)
      (opts_setvcpus, opts_setmaxmem, opts_setmem)
      (opts_migrate_setmaxdowntime): Use VSH_OT_INT when only an integer
      is expected.
      (vshCmddefHelp, vshCmddefGetData): Allow mandatory VSH_OT_INT
      arguments.
      c1564268
    • E
      qemu: work around dash 0.5.5 bug in managed save · f22e670b
      Eric Blake 提交于
      Older dash mistakenly truncates regular files when using <> redirection;
      this kills our use of double dd to reduce storage overhead when
      saving qemu images.  But qemu insists on running a command through
      /bin/sh, so we work around it by having qemu run $sh -c 'real command'
      when we have a replacement $sh in mind.
      
      * configure.ac (VIR_WRAPPER_SHELL): Define to a replacement shell,
      if /bin/sh is broken on <> redirection.
      * src/qemu/qemu_monitor.h (VIR_WRAPPER_SHELL_PREFIX)
      (VIR_WRAPPER_SHELL_SUFFIX): New macros.
      * src/qemu/qemu_monitor_text.c (qemuMonitorTextMigrateToFile): Use
      them.
      * src/qemu/qemu_monitor_json.c (qemuMonitorJSONMigrateToFile):
      Likewise.
      f22e670b
    • J
      docs: make the location of the xml catalog file a configure option · ff9bbffc
      Justin Clift 提交于
      The default location for the XML catalog file, /etc/xml/catalog,
      used when validating the generated html docs, isn't correct for
      MacOS X.
      
      This commit adds an option to the configure script, allowing the
      default to be overridden:
      
        --with-xml-catalog-file=/path/to/xml/catalog/file
      ff9bbffc
    • D
      Avoid squashing errors during network startup cleanup path · d68bb70a
      Daniel P. Berrange 提交于
      When failing to start a virtual network, we have to cleanup,
      tearing down any iptables rules. If the iptables rules were
      not present yet though, this raises an error, which squashes
      the original error we were handling.
      
      * src/network/bridge_driver.c: When failing to start a virtual
        network, don't squash the original error in cleanup
      d68bb70a
    • J
      docs: install the generated html files when make install is run · d88a0496
      Justin Clift 提交于
      Previously, only the API docs were installed, rather than the
      complete documentation set.  This commit ensures the complete
      documentation set is installed.
      d88a0496
    • M
      Fix build for SystemTap 1.0 · cbe719fe
      Matthias Bolte 提交于
      With SystemTap 1.0 a part of the generated macros in probes.h
      expands to:
      
      volatile __typeof__(((name))) arg2 = (name);
      
      GCC reports an 'invalid initialize' error when name has type
      char[]. Therfore, add casts to char* to avoid this.
      cbe719fe
    • J
      xen: Fix domain dump · 608554f2
      Jiri Denemark 提交于
      Remove redundant 'live' parameter which caused an error from xend:
      
          "xend.err 'Too many values for live'"
      608554f2