0.9.10 added virDomainBlockRebase as a way to expose the pending
qemu 'block_stream' monitor command planned for qemu 1.1, including
it's optional base parameter, but didn't wire up that part of the
new API due to time constraints. RHEL 6.2 backported an earlier
version of block_stream that only supports qed, not qcow2, and which
lacked the base parameter). I still have plans to further improve
the situation in libvirt - we need to express the backing file chain
information in XML, and keep that representation up-to-date when
doing snapshot and pull operations. But this series is a bare
minimum to actually make use of the base parameter, with the
burden on the user to pass in a valid base name.
Eric Blake (3):
qemu: require json for block jobs
qemu: pass block pull backing file to monitor
virsh: expose partial pull
src/qemu/qemu_driver.c | 15 ++--
src/qemu/qemu_monitor.c | 14 ++--
src/qemu/qemu_monitor.h | 6 +-
src/qemu/qemu_monitor_json.c | 26 +++++--
src/qemu/qemu_monitor_json.h | 3 +-
src/qemu/qemu_monitor_text.c | 175 +-----------------------------------------
src/qemu/qemu_monitor_text.h | 8 +--
tools/virsh.c | 19 ++++-
tools/virsh.pod | 12 ++-
9 files changed, 63 insertions(+), 215 deletions(-)
--
1.7.7.6