1. 05 4月, 2011 22 次提交
  2. 04 4月, 2011 1 次提交
    • D
      Release of libvirt-0.9.0 · d17e438a
      Daniel Veillard 提交于
      * configure.ac docs/news.html.in libvirt.spec.in: update for the release
      * po/*.po*: update polish translation and regenerate
      d17e438a
  3. 03 4月, 2011 2 次提交
  4. 02 4月, 2011 2 次提交
    • E
      docs: fix typo · d9588747
      Eric Blake 提交于
      * docs/formatdomain.html.in: Fix KVM name.
      d9588747
    • E
      docs: correct invalid xml · b5ec89d9
      Eric Blake 提交于
      * docs/internals.html.in: Fix xml errors.
      * docs/formatstorageencryption.html.in: Likewise.
      * docs/drvesx.html.in: Likewise.
      * docs/archnetwork.html.in: Likewise.
      * docs/logging.html.in: Likewise.
      * docs/drvvmware.html.in: Likewise.
      * docs/api.html.in: Likewise.
      * docs/formatnwfilter.html.in: Likewise.
      * docs/formatdomain.html.in: Likewise.
      * docs/windows.html.in: Likewise.
      b5ec89d9
  5. 01 4月, 2011 9 次提交
    • E
      virsh: fix mingw failure on creating nonblocking pipe · da3c4714
      Eric Blake 提交于
      * .gnulib: Update to latest, for nonblocking module.
      * bootstrap.conf (gnulib_modules): Add nonblocking.
      * src/util/util.c (virSetBlocking): Defer to gnulib.
      da3c4714
    • D
      Fix libxl driver startup · 03ede2f6
      Daniel Veillard 提交于
        When you happen to have a libvirtd binary compiled with the
      libxenlight driver (say you have installed xen-4.1 libraries)
      but not running a xen enabled system, then libvirtd fails to start.
      
      The cause is that libxlStartup() returns -1 when failing to initialize
      the library, and this propagates to virStateInitialize() which consider
      this a failure. We should only exit libxlStartup with an error code
      if something like an allocation error occurs, not if the driver failed
      to initialize.
      
      * src/libxl/libxl_driver.c: fix libxlStartup() to not return -1
        when failing to initialize the libxenlight library
      03ede2f6
    • J
      virsh: Fix documentation for memtune command · 1e8f2079
      Jiri Denemark 提交于
      Commit 78ba748e claims to fix
      documentation for swap_hard_limit virsh memtune option but it only fixes
      documentation in formatdomain.html and libvirt.h. This patch completes
      the task by fixing "virsh help memtune" output and memtune section of
      virsh man page.
      1e8f2079
    • G
      Make check_fc_host() and check_vport_capable() usable as rvalues · d0bd206a
      Guido Günther 提交于
      as needed on non linux ports using HAL.
      d0bd206a
    • J
      qemu: Ignore libvirt debug messages in qemu log · 72ab0b6d
      Jiri Denemark 提交于
      qemu driver uses a 4K buffer for reading qemu log file. This is enough
      when only qemu's output is present in the log file. However, when
      debugging messages are turned on, intermediate libvirt process fills the
      log with a bunch of debugging messages before it executes qemu binary.
      In such a case the buffer may become too small. However, we are not
      really interested in libvirt messages so they can be filtered out from
      the buffer.
      72ab0b6d
    • O
      qemu: Fix improper logic of qemuCgroupSetup · 0ca16a78
      Osier Yang 提交于
      It throws errors as long as the cgroup controller is not available,
      regardless of whether we really want to use it to do setup or not,
      which is not what we want, fixing it with throwing error when need
      to use the controller.
      
      And change "VIR_WARN" to "qemuReportError" for memory controller
      incidentally.
      0ca16a78
    • W
      free tmp after unlinking it · e206946d
      Wen Congyang 提交于
      We create a temporary file to save memory, and we will remove it after reading
      memory to buffer. But we free the variable that contains the temporary filename
      before we remove it. So we should free tmp after unlinking it.
      e206946d
    • M
      Fix several formatting mistakes in doc · 51434d3b
      Michal Privoznik 提交于
      51434d3b
    • D
      Remove iohelper on Win32 since it is not required · e44e8e25
      Daniel P. Berrange 提交于
      The iohelper binary is not required on Win32, although it compiles
      without trouble. Simply remove it from the RPM.
      
      * mingw32-libvirt.spec.in: Remove iohelper
      e44e8e25
  6. 31 3月, 2011 4 次提交
    • D
      Fix domain events C example on Win32 · 24219542
      Daniel P. Berrange 提交于
      printf on Win32 does not necessarily support %lld and we don't
      have GNULIBs wrapper for printf(). Switch to use asprintf() for
      which we do have a gnulib wrapper with %lld support
      
      * examples/domain-events/events-c/event-test.c: Fix formatting
        of %lld on Win32
      * cfg.mk: Don't require use of virAsprintf since this is an
        example app for out of tree users to follow
      24219542
    • E
      maint: avoid locale-sensitivity in string case comparisons · 6c9e89bb
      Eric Blake 提交于
      strcase{cmp/str} have the drawback of being sensitive to the global
      locale; this is unacceptable in a library setting.  Prefer a
      hard-coded C locale alternative for all but virsh, which is user
      facing and where the global locale isn't changing externally.
      
      * .gnulib: Update to latest, for c-strcasestr change.
      * bootstrap.conf (gnulib_modules): Drop strcasestr, add c-strcase
      and c-strcasestr.
      * cfg.mk (sc_avoid_strcase): New rule.
      (exclude_file_name_regexp--sc_avoid_strcase): New exception.
      * src/internal.h (STRCASEEQ, STRCASENEQ, STRCASEEQLEN)
      (STRCASENEQLEN): Adjust offenders.
      * src/qemu/qemu_monitor_text.c (qemuMonitorTextEjectMedia):
      Likewise.
      * tools/virsh.c (namesorter): Document exception.
      6c9e89bb
    • E
      docs: mention C89 syntax preferences · 06732e1a
      Eric Blake 提交于
      * docs/hacking.html.in (Code formatting): Document that // comment
      and declaration-after-statement are discouraged.
      * HACKING: Regenerate.
      06732e1a
    • J
      qemu: Fix media eject with qemu-0.12.* · e586f574
      Jiri Denemark 提交于
      In qemu-0.12.* "device '...' is locked" message was changed to "Device
      ..." so libvirt was no longer detecting this as an error.
      e586f574