1. 09 7月, 2014 5 次提交
    • J
      libxl: remove domain when migration prepare fails · c4f66bb8
      Jim Fehlig 提交于
      In libxlDomainMigrationPrepare(), a new virDomainObj is created
      from the incoming domain def and added to the driver's domain
      list, but never removed if there are subsequent failures during
      the prepare phase.
      
      targethost# virsh list --all
      
      sourcehost# virsh migrate --live dom xen+ssh://targethost/system
         error: operation failed: Fail to create socket for incoming migration.
      
      targethost# virsh list --all
      error: Failed to list domains
      error: name in virGetDomain must not be NULL
      
      After adding code to remove the domain on prepare failure, noticed
      that libvirtd crashed due to double free of the virDomainDef.  Similar
      to the qemu driver, pass a pointer to virDomainDefPtr so it can be set
      to NULL once a virDomainObj is created from it.
      c4f66bb8
    • J
      libxl: rename goto label · 92cd6b67
      Jim Fehlig 提交于
      In libxlDomainMigrationPrepare(), the cleanup label handles error
      conditions and should be renamed as such for clarity.
      92cd6b67
    • C
      LXC: fix an improper comments for lxcDomainDestroyFlags · 110b959f
      Chen Hanxiao 提交于
      Currently @flag is not used yet.
      Signed-off-by: NChen Hanxiao <chenhanxiao@cn.fujitsu.com>
      110b959f
    • G
      qemu: raise an eror when using aio=native without cache=none · 05838400
      Giuseppe Scrivano 提交于
      Qemu will fallback to aio=threads when the cache mode doesn't use
      O_DIRECT, even if aio=native was explictly set.
      
      Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1086704Signed-off-by: NGiuseppe Scrivano <gscrivan@redhat.com>
      05838400
    • E
      maint: update to latest gnulib · 0ea6512d
      Eric Blake 提交于
      When run under an environment that inherits an ignored SIGPIPE
      (hello, annoying buildbots), a syntax-check was producing quite
      a bit of noise, such as:
      
      > prohibit_argmatch_without_use
      > grep: write error
      > grep: write error
      > /bin/sed: couldn't write 25 items to stdout: Broken pipe
      > sed: couldn't write 1 item to stdout: Broken pipe
      > 0.46 prohibit_argmatch_without_use
      
      This has been fixed upstream in gnulib.  There are several other
      portability improvements in our regular submodule update.
      
      * .gnulib: Update to latest, in part for quieter syntax-check.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      0ea6512d
  2. 08 7月, 2014 21 次提交
  3. 07 7月, 2014 9 次提交
  4. 05 7月, 2014 2 次提交
  5. 04 7月, 2014 3 次提交
    • M
      wireshark: Honor API change coming with 1.12 release · e74fa570
      Michal Privoznik 提交于
      https://bugs.gentoo.org/show_bug.cgi?id=508336
      
      At wireshark, they have this promise to change public dissector APIs
      only with minor version number change. Which they did when releasing
      the version of 1.12.
      
      Firstly, they've changed tvb_memdup() in
      a0c53ffaa1bb46d8c9db2ec739401aa411c9790e so now it takes four arguments
      instead of three. The new argument is placed at the very beginning of
      the list of arguments and basically says the scope where we'd like to
      allocate the memory. According to the documentation NULL should be the
      default value.
      
      Then, the tcp_dissect_pdus() signature changed too. Well, the function
      that actually dissects reassembled packets as tcp_dissect_pdus()
      reorder TCP packets into one big chunk and then calls a user function
      to dissect the PDU at once. The change is dated back to
      8081cf1d90397cbbb4404f9720595e1537ed5e14.
      
      Then, WS_DLL_PUBLIC_NOEXTERN was replaced with WS_DLL_PUBLIC_DEF in
      5d87a8c46171f572568db5a47c093423482e342f.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      e74fa570
    • M
      wireshark: Include more of libvirt internals · 906d0abf
      Michal Privoznik 提交于
      The rationale is to not duplicate code which is done in
      packet-libvirt.h for instance. Moreover, this way we can drop
      __attribute_((unused)) used int packet-libvirt.c in favor of
      ATTRIBUTE_UNUSED.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      906d0abf
    • P
      qemu: monitor: Add support for backing name specification for block-stream · a448713a
      Peter Krempa 提交于
      To allow changing the name that is recorded in the top of the current
      image chain used in a block pull/rebase operation, we need to specify
      the backing name to qemu. This is done via the "backing-file" attribute
      to the block-stream commad.
      a448713a