1. 14 4月, 2011 17 次提交
  2. 13 4月, 2011 2 次提交
    • H
      qemu: fix a dead-lock problem · 30c551ab
      Hu Tao 提交于
      In qemuDomainObjBeginJobWithDriver, when virCondWaitUntil timeouts,
      the function tries to call qemuDriverLock with virDomainObj locked,
      this causes the dead-lock problem. This patch fixes this.
      30c551ab
    • J
      util: Fix crash when removing entries during hash iteration · 5c53160a
      Jiri Denemark 提交于
      Commit 9677cd33 made it possible to
      remove current entry when iterating through all hash entries. However,
      it didn't properly handle a special case of removing first entry
      assigned to a given key which contains several entries in its collision
      list.
      5c53160a
  3. 12 4月, 2011 2 次提交
    • M
      Fix possible infinite loop in remote driver · 50e4b919
      Michal Privoznik 提交于
      When we take out completed calls from queue we might end up
      in circular pointer. We don't want pointer to previous item
      point to element taken out.
      50e4b919
    • E
      maint: fix grammar errors · 99fa3080
      Eric Blake 提交于
      Jim Meyering recently improved gnulib to catch various grammar
      errors during 'make syntax-check'.
      
      * .gnulib: Update to latest, for syntax-check improvements.
      * include/libvirt/libvirt.h.in (virConnectAuthCallbackPtr): Use
      cannot rather than two words.
      * src/driver.c: Likewise.
      * src/driver.h (VIR_SECRET_GET_VALUE_INTERNAL_CALL): Likewise.
      * src/remote/remote_driver.c (initialize_gnutls): Likewise.
      * src/util/pci.c (pciBindDeviceToStub): Likewise.
      * src/storage/storage_backend.c (virStorageBackendCreateQemuImg):
      Likewise.
      (virStorageBackendUpdateVolTargetInfoFD): Avoid doubled word.
      * docs/formatdomain.html.in: Likewise.
      * src/qemu/qemu_process.c (qemuProcessStart): Likewise.
      * cfg.mk (exclude_file_name_regexp--sc_prohibit_can_not)
      (exclude_file_name_regexp--sc_prohibit_doubled_word): Exclude
      existing translation problems.
      99fa3080
  4. 11 4月, 2011 1 次提交
  5. 10 4月, 2011 1 次提交
  6. 09 4月, 2011 5 次提交
  7. 08 4月, 2011 12 次提交
    • E
      build: fix mingw build · ece0b3ab
      Eric Blake 提交于
      Commit 02c39a2f introduced a mingw build regression, due to a
      regression in gnulib's areadlink module:
      
      ../../../gnulib/lib/careadlinkat.c: In function 'careadlinkat':
      ../../../gnulib/lib/careadlinkat.c:143:39: error: 'const struct allocator' has no member named 'malloc'
      
      * .gnulib: Update to latest, for careadlinkat fix.
      ece0b3ab
    • E
      docs: tweak virsh restore warning · 5bc22e12
      Eric Blake 提交于
      * tools/virsh.pod: Fix grammar, and clarify wording.
      * src/qemu/qemu_driver.c (qemudDomainObjStart): Drop redundant
      condition.
      5bc22e12
    • W
      do not build libvirt_iohelper when building without libvirtd · 2999bb06
      Wen Congyang 提交于
      The libexec program libvirt_iohelper is only for libvirtd. If we build rpm
      without libvirtd, we will receive the following messages:
      
      Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/wency/rpmbuild/BUILDROOT/libvirt-0.9.0-1.el6.x86_64
      error: Installed (but unpackaged) file(s) found:
         /usr/libexec/libvirt_iohelper
      2999bb06
    • S
      nwfilters: support for TCP flags evaluation · 6ab24feb
      Stefan Berger 提交于
      This patch adds support for the evaluation of TCP flags in nwfilters.
      
      It adds documentation to the web page and extends the tests as well.
      Also, the nwfilter schema is extended.
      
      The following are some example for rules using the tcp flags:
      
      <rule action='accept' direction='in'>
          <tcp state='NONE' flags='SYN/ALL' dsptportstart='80'/>
      </rule>
      <rule action='drop' direction='in'>
          <tcp state='NONE' flags='SYN/ALL'/>
      </rule>
      6ab24feb
    • T
      setmem: add --current option to virsh setmem command · 80427f1d
      Taku Izumi 提交于
      This patch adds the new option (--current) to the "virsh setmem" command.
      When --current option is specified, it affects a "current" domain.
      The word "current" denotes that if a domain is running, it affects
      a running domain only; otherwise it affects a persistent domain.
      Signed-off-by: NTaku Izumi <izumi.taku@jp.fujitsu.com>
      80427f1d
    • T
      setmem: add VIR_DOMAIN_MEM_CURRENT support to qemu · 95298e23
      Taku Izumi 提交于
      This patch adds virDomainSetMemoryFlags(,,VIR_DOMAIN_MEM_CURRENT) support
      code to qemu driver.
      
      Also, change virDomainObjIsActive to return bool, given its usage.
      Signed-off-by: NTaku Izumi <izumi.taku@jp.fujitsu.com>
      95298e23
    • T
      setmem: introduce VIR_DOMAIN_MEM_CURRENT flag · 0f2e50be
      Taku Izumi 提交于
      This patch introduces VIR_DOMAIN_MEM_CURRENT flag and
      modifies virDomainSetMemoryFlags function to support it.
      Signed-off-by: NTaku Izumi <izumi.taku@jp.fujitsu.com>
      0f2e50be
    • J
      build: Install libxenlight log dir · f7e9b448
      Jim Fehlig 提交于
      Add $localstatedir/log/libvirt/libxl when building libxenlight driver
      f7e9b448
    • T
      setmaxmem: remove the code to invoke virDomainSetMemory in cmdSetmaxmem · 74891d94
      Taku Izumi 提交于
      When the new maximum memory size becomes less than the current memory size,
      I think it is not the libvirt client but the each driver that decides the behavior
      (reject the operation or shrink the current memory size).
      Signed-off-by: NTaku Izumi <izumi.taku@jp.fujitsu.com>
      74891d94
    • E
      virsh: fix mingw startup · 8ae5df5d
      Eric Blake 提交于
      * .gnulib: Update to latest, for pipe2.
      * bootstrap.conf (gnulib_modules): Add pipe2.
      * src/util/event_poll.c (virEventPollInit): Use it, to avoid
      problematic virSetCloseExec on mingw.
      8ae5df5d
    • E
      build: fix gitignore sorting · 02c39a2f
      Eric Blake 提交于
      Make it so we don't have to 'git add -f' particular files like
      po/POTFILES.in all the time (tested by fixing one of our
      special-case files as part of the patch).
      
      * .gnulib: Update to latest.
      * bootstrap: Resync from coreutils.
      * .gitignore: Sort whitelist entries correctly, including ignoring
      files rather than directories.
      * m4/virt-compile-warnings.m4: Convert tabs to space.
      02c39a2f
    • L
      docs: add an IPv6 address to network XML examples · f25d064e
      Laine Stump 提交于
      It was just pointed out that, although I added documentation for the
      IPv6 additions to the network XML, I neglected to use those additions
      in the examples. This patch adds an IPv6 address to each of the
      examples except for the "default" network, since that is a faithful
      reproduction of the default network config that's automatically
      installed, which doesn't include any IPv6 address (for good reason -
      because there is no such thing as IPv6 NAT, there is no one IPv6
      address that would work for all installations).
      f25d064e