[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] How to get iteration time & downtime?



Jiri thank you, and I will attempt to do some research using virDomainGetJobStats  API.
Any stupid questions I will ask you later if necessary. :)

Best wishes,
Yale Yuan

-----Original Message-----
From: Jiri Denemark [mailto:jdenemar redhat com] 
Sent: Wednesday, March 27, 2013 5:38 PM
To: Yuan, Ye A
Cc: libvir-list redhat com
Subject: Re: [libvirt] How to get iteration time & downtime?

On Tue, Mar 26, 2013 at 12:46:52 +0000, Yuan, Ye A wrote:
> Hi all,
> I'm a graduate student in Shanghai, and will do experiment about live migration using KVM as hypervisor.
> Due to my demand, I want to  get each iteration time and downtime in migration.
> I found there is no API to implement it, and how can I obtain data I want?

Libvirt provides virDomainGetJobStats API which gives you all migration statistics data provided by QEMU (via query-migrate QMP command). If you need something more, you would need to add reporting of the required additional statistics to QEMU first.

Jirka


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]