On 08/23/2011 07:58 AM, Stefan Hajnoczi wrote:
These patches put in place the image streaming QMP/HMP commands and
documentation. Image streaming itself is not implemented by this patch series
but the HMP/QMP commands that libvirt uses are implemented to return
NotSupported.
The Image Streaming API can be used to copy the contents of a backing file into
the image file while the guest is running. The API is described on the wiki:
http://wiki.qemu.org/Features/LiveBlockMigration/ImageStreamingAPI
The point of this series is to commit QEMU to the API that we have worked out
with libvirt. The QED Image Streaming series that I posted earlier provides an
implementation for the QED image format only. I am currently working on a
generic block layer implementation so that any format with backing file support
can do image streaming.
For reference, the QED-specific implementation lives here:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/stream-command
Luiz, can you bring this in through your tree with an Ack from Kevin.
Regards,
Anthony Liguori
Stefan Hajnoczi (4):
qmp: add block_stream command
qmp: add block_job_set_speed command
qmp: add block_job_cancel command
qmp: add query-block-jobs
blockdev.c | 55 ++++++++++++++++++
blockdev.h | 6 ++
hmp-commands.hx | 44 ++++++++++++++
monitor.c | 19 ++++++
monitor.h | 1 +
qerror.h | 3 +
qmp-commands.hx | 172 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 300 insertions(+), 0 deletions(-)