[libvirt] Patch for verbose Disk transfer
Eric Blake
eblake at redhat.com
Tue Aug 16 16:59:43 UTC 2011
On 08/13/2011 02:54 AM, Tom Vijlbrief wrote:
> A virsh command like:
>
> migrate --live --copy-storage-all Guest qemu+ssh://user@host/system
> --persistent --verbose
>
> shows
>
> Migration: [ 0 %]
>
> during the storage copy and does not start counting
> untill the ram transfer starts
>
> Patch for including the storage copy:
>
> diff --git a/src/qemu/qemu_monitor_text.c b/src/qemu/qemu_monitor_text.c
> index 7bf733d..4ac8008 100644
> --- a/src/qemu/qemu_monitor_text.c
> +++ b/src/qemu/qemu_monitor_text.c
This only covers the text monitor; does the JSON monitor present the
same information? If so, then we need to cover both monitors before
calling this patch complete.
But overall, the idea looks nice.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
More information about the libvir-list
mailing list