search for: l940

Displaying 2 results from an estimated 2 matches for "l940".

Did you mean: 940
2017 Jan 10
3
Regarding Migration Statistics
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: *clock_gettime(CLOCK_MONOTONIC_RAW,&begin); * *migrate*(domainToMigrate,nodeToMigrate);
2017 Jan 10
0
Re: Regarding Migration Statistics
...ng to monitor its progress. To check statistics of a completed migration it's easier to just register a callback for VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event. See http://libvirt.org/git/?p=libvirt.git;a=blob;f=examples/object-events/event-test.c;h=55c004f93f40de628ae76221bb8ef9a13b2acb3d;hb=HEAD#l940 for an example. Jirka