[libvirt] Regarding Migration Statistics

2017-01-10 Thread Anubhav Guleria
Greetings, I am writing a code using libvirt API to migrate VM between two physical hosts *(QEMU/KVM) , *say some *n *number of times. *1)* I am using right now* virDomainPtr virDomainMigrate (...) *and to calculate the total migration time I am using something like this:

[libvirt] Regarding Migration Code

2017-01-08 Thread Anubhav Guleria
Greetings, I was trying to understand the flow of Migration Code in libvirt and have few doubts: 1) libvirt talks to QEMU/KVM guests via QEMU API. So overall, in order to manage QEMU/KVM guests I can either use libvirt (or tools based on libvirt like virsh) or QEMU monitor. Is it so? 2) Since