[libvirt] [PATCH 0/5] fix block job bugs relative to upstream qemu

Eric Blake eblake at redhat.com
Wed Apr 11 23:40:33 UTC 2012


The following 5 patches are ready for review and application to
libvirt now, since they correspond to features that are currently in
the qemu 1.1 tree.  (I've split these less-controversial parts from
v4 of my larger storage migration series [1]; so that this series has
no dependency on the yet-to-be-determined 'drive-mirror' semantics).
[1]https://www.redhat.com/archives/libvir-list/2012-April/msg00330.html

Patch 1 is new, and matches a qemu patch taken just today.
Patch 2 matches 2/18 in the block migration series, with some tweaks
to defer any qemu changes till later, as well as wording improvements
in the documentation to match the behavior implemented by this series.
Patch 3 matches an independent patch I sent earlier today, updated
to resolve review comments from that version.
Patch 4 matches 3/18 in the block migration series, with modifications
to now account for both RHEL 6.2 and qemu 1.1 behaviors.  I've altered
this so much from Adam's original that I claimed authorship, although
I've left his Signed-off-by for the initial implementation.
Patch 5 matches 4/18 in the block migration series, with minor tweaks
due to rebasing.

Later, I will repost a v5 of my storage migration series based on
top of this one.

Adam Litke (1):
  blockjob: add API for async virDomainBlockJobAbort

Eric Blake (4):
  blockjob: add qemu capabilities related to block pull jobs
  blockjob: optimize JSON event handler lookup
  blockjob: wire up qemu async virDomainBlockJobAbort
  blockjob: allow for fast-finishing job

 include/libvirt/libvirt.h.in |   10 +++
 src/libvirt.c                |   13 +++-
 src/qemu/qemu_capabilities.c |    3 +
 src/qemu/qemu_capabilities.h |    2 +
 src/qemu/qemu_driver.c       |  106 ++++++++++++++++++++-----
 src/qemu/qemu_monitor.c      |   11 ++-
 src/qemu/qemu_monitor.h      |    8 +-
 src/qemu/qemu_monitor_json.c |  179 +++++++++++++++++++++++++++---------------
 src/qemu/qemu_monitor_json.h |    4 +-
 tools/virsh.c                |   51 ++++++++-----
 tools/virsh.pod              |   35 ++++++---
 11 files changed, 300 insertions(+), 122 deletions(-)

-- 
1.7.7.6




More information about the libvir-list mailing list