:):):) I found that QEMU do migration and libvirt invoke it Thanks your help, Jiri!!!!! I will view QEMU source code ~~~!!! Best wishes, Yale Yuan -----Original Message----- From: Jiri Denemark (jdenemar@xxxxxxxxxx) [mailto:jdenemar@xxxxxxxxxx] Sent: Wednesday, March 27, 2013 8:47 PM To: Yuan, Ye A Cc: libvir-list@xxxxxxxxxx Subject: Re: FW: How to get iteration time & downtime? On Wed, Mar 27, 2013 at 12:22:39 +0000, Yuan, Ye A wrote: > I read your instruction about your API, but there is no function do > get 'iteration time'. Right, you can only get downtime. The reason is that QEMU does not provide statistics about iteration time. > Does that mean I should implement it by myself? And if I want to get > the dirty page bitmap, should I review libvirt source code and print > information to log file during migration? Well, it's not libvirt where you need to be looking. The migration is done in QEMU, libvirt just controls it. In other words, you need to go to QEMU sources to get more statistics about migration. And in case you need any guidance or answers for your questions, qemu-devel@xxxxxxxxxx is the primary list for QEMU developers. Jirka -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list