1. 18 12月, 2015 2 次提交
  2. 17 12月, 2015 1 次提交
  3. 03 12月, 2015 1 次提交
  4. 12 11月, 2015 3 次提交
  5. 24 10月, 2015 5 次提交
  6. 20 10月, 2015 1 次提交
    • D
      coroutine: move into libqemuutil.a library · 10817bf0
      Daniel P. Berrange 提交于
      The coroutine files are currently referenced by the block-obj-y
      variable. The coroutine functionality though is already used by
      more than just the block code. eg migration code uses coroutine
      yield. In the future the I/O channel code will also use the
      coroutine yield functionality. Since the coroutine code is nicely
      self-contained it can be easily built as part of the libqemuutil.a
      library, making it widely available.
      
      The headers are also moved into include/qemu, instead of the
      include/block directory, since they are now part of the util
      codebase, and the impl was never in the block/ directory
      either.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      10817bf0
  7. 16 10月, 2015 4 次提交
  8. 25 9月, 2015 1 次提交
  9. 14 9月, 2015 3 次提交
  10. 11 9月, 2015 1 次提交
  11. 02 9月, 2015 1 次提交
    • W
      block: more check for replaced node · e12f3784
      Wen Congyang 提交于
      We use mirror+replace to fix quorum's broken child. bs/s->common.bs
      is quorum, and to_replace is the broken child. The new child is target_bs.
      Without this patch, the replace node can be any node, and it can be
      top BDS with BB, or another quorum's child. We just check if the broken
      child is part of the quorum BDS in this patch.
      Signed-off-by: NWen Congyang <wency@cn.fujitsu.com>
      Message-id: 55A86486.1000404@cn.fujitsu.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      e12f3784
  12. 14 7月, 2015 2 次提交
  13. 02 7月, 2015 1 次提交
    • F
      block: Add bdrv_get_block_status_above · ba3f0e25
      Fam Zheng 提交于
      Like bdrv_is_allocated_above, this function follows the backing chain until seeing
      BDRV_BLOCK_ALLOCATED.  Base is not included.
      
      Reimplement bdrv_is_allocated on top.
      
      [Initialized bdrv_co_get_block_status_above() ret to 0 to silence
      mingw64 compiler warning about the unitialized variable.  assert(bs !=
      base) prevents that case but I suppose the program could be compiled
      with -DNDEBUG.
      --Stefan]
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      ba3f0e25
  14. 12 6月, 2015 3 次提交
  15. 29 5月, 2015 1 次提交
    • J
      qapi: add dirty bitmap status · 9abe3bdc
      John Snow 提交于
      Bitmaps can be in a handful of different states with potentially
      more to come as we tool around with migration and persistence patches.
      
      Management applications may need to know why certain bitmaps are
      unavailable for various commands, e.g. busy in another operation,
      busy being migrated, etc.
      
      Right now, all we offer is BlockDirtyInfo's boolean member 'frozen'.
      Instead of adding more booleans, replace it by an enumeration member
      'status' with values 'active' and 'frozen'.  Then add new value
      'disabled'.
      
      Incompatible change.  Fine because the changed part hasn't been
      released so far.
      Suggested-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      [Commit message tweaked]
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      9abe3bdc
  16. 22 5月, 2015 1 次提交
    • D
      block: minimal bounce buffer alignment · 4196d2f0
      Denis V. Lunev 提交于
      The patch introduces new concept: minimal memory alignment for bounce
      buffers. Original so called "optimal" value is actually minimal required
      value for aligment. It should be used for validation that the IOVec
      is properly aligned and bounce buffer is not required.
      
      Though, from the performance point of view, it would be better if
      bounce buffer or IOVec allocated by QEMU will be aligned stricter.
      
      The patch does not change any alignment value yet.
      Signed-off-by: NDenis V. Lunev <den@openvz.org>
      Reviewed-by: NKevin Wolf <kwolf@redhat.com>
      Message-id: 1431441056-26198-2-git-send-email-den@openvz.org
      CC: Paolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: NKevin Wolf <kwolf@redhat.com>
      CC: Stefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      4196d2f0
  17. 28 4月, 2015 9 次提交