1. 15 4月, 2011 2 次提交
    • M
      Introduce virDomainChrDefNew() · 2ac455c4
      Michal Novotny 提交于
      Make: passed
      Make check: passed
      Make syntax-check: passed
      
      this is the commit to introduce the function to create new character
      device definition for the domain as advised by Cole Robinson
      <crobinso@redhat.com>.
      
      The function is used on the relevant places and also new tests has
      been added.
      Signed-off-by: NMichal Novotny <minovotn@redhat.com>
      2ac455c4
    • M
      Spice: support audio, images and stream compression · abb1570e
      Michal Privoznik 提交于
      This extends the SPICE XML to allow variable compression settings for audio,
      images and streaming:
          <graphics type='spice' port='5901' tlsPort='-1' autoport='yes'>
              <image compression='auto_glz'/>
              <jpeg compression='auto'/>
              <zlib compression='auto'/>
              <playback compression='on'/>
          </graphics>
      
      All new elements are optional.
      abb1570e
  2. 14 4月, 2011 20 次提交
  3. 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
  4. 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
  5. 11 4月, 2011 1 次提交
  6. 10 4月, 2011 1 次提交
  7. 09 4月, 2011 5 次提交
  8. 08 4月, 2011 7 次提交
    • 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