<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)">Hello,</div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"><br></div>
<div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)">I have been trying to track different phases of a live migration process. I am using libvirt with qemu-kvm. I am issuing migration commands using virsh.</div>
<div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)">Now, I want to measure the time spent in each phase of live migration, e.g., pre-copy and stop-copy. I stumbled upon the file qemu_driver.c. It has functions like</div>
<div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"><span style="font-family:monospace;font-size:12px;white-space:pre">qemudDomainMigratePrepare2</span><br>
</div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"><span style="font-family:monospace;font-size:12px;white-space:pre">qemudDomainMigratePerform</span><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)">
<span style="font-family:monospace;font-size:12px;white-space:pre">qemudDomainMigrateFinish2</span><br clear="all"></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"><span style="font-family:monospace;font-size:12px;white-space:pre"><br>
</span></div><div class="gmail_default"><font color="#000000" face="georgia, serif">I want to know whether qemudDomainMigratePerform and qemudDomainMigrateFinish2 directly map to the pre-copy and stop-copy phase? or the </font><span style="color:rgb(0,0,0);font-family:georgia,serif">qemudDomainMigratePerform function performs both of them?</span><br>
</div><div class="gmail_default"><span style="color:rgb(0,0,0);font-family:georgia,serif"><br></span></div><div class="gmail_default"><font color="#000000" face="georgia, serif">Any pointers or suggestions will be greatly appreciated.</font></div>
<div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"><span style="font-family:monospace;font-size:12px;white-space:pre"><br></span></div><div><div dir="ltr"><font face="georgia, serif">Regards<br>
---------------------- <br>Md. Faizul Bari <br><br>PhD Student<br>David R. Cheriton School of Computer Science<br>University of Waterloo<br>{<a href="http://www.cs.uwaterloo.ca/%7Emfbari" target="_blank">http://www.cs.uwaterloo.ca/~mfbari</a>}<br>
[<span style="color:rgb(51,51,51);line-height:18px">My mind rebels at stagnation! Give me problems! Give me work!</span>]</font></div></div>
</div>