On Tue, Aug 23, 2011 at 8:58 PM, Stefan Hajnoczi <stefa...@linux.vnet.ibm.com> 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
If query-block-jobs returns one percent value, it will be more readable and convenient for users. > > 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 > > 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(-) > > -- > 1.7.5.4 > > > -- Regards, Zhi Yong Wu