]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
block rebase: initial qemu implementation
authorEric Blake <eblake@redhat.com>
Wed, 1 Feb 2012 04:52:58 +0000 (21:52 -0700)
committerEric Blake <eblake@redhat.com>
Wed, 1 Feb 2012 22:31:44 +0000 (15:31 -0700)
commit9f902a2ed58ec6536db16f3e55d7429df995cef4
tree1a818fbc2d503a5e89dbde58d34eb7265450c6cf
parent8ee8fd655513f23bc4e4adbdb2c70cca130fe735
block rebase: initial qemu implementation

This is a trivial implementation, which works with the current
released qemu 1.0 with backports of preliminary block pull but
no partial rebase.  Future patches will update the monitor handling
to support an optional parameter for partial rebase; but as qemu
1.1 is unreleased, it can be in later patches, designed to be
backported on top of the supported API.

* src/qemu/qemu_driver.c (qemuDomainBlockJobImpl): Add parameter,
and adjust callers.  Drop redundant check.
(qemuDomainBlockPull): Move guts...
(qemuDomainBlockRebase): ...to new function.
src/qemu/qemu_driver.c