On Tue, Aug 30, 2011 at 4:19 AM, Zhi Yong Wu <zwu.ker...@gmail.com> wrote: > 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.
QMP is not a human interface. Although a percentage value is good for progress bars, the absolute value is also interesting in terms of how much work is being done. By providing an end value and a current value the management tool can display either or both. Stefan