search for: virdomaingetjobstat

Displaying 9 results from an estimated 9 matches for "virdomaingetjobstat".

Did you mean: virdomaingetjobstats
2017 Jan 10
3
Regarding Migration Statistics
...*I am interested in identifying in particular other statistics of migration like : *Number of iterations in Pre Copy*, *Memory transferred in each iteration* etc. I was going through the API and found* virDomainJobInfo <http://libvirt.org/html/libvirt-libvirt-domain.html#virDomainJobInfo> and virDomainGetJobStats <http://libvirt.org/html/libvirt-libvirt-domain.html#virDomainGetJobStats> *functions.But how to use them is not very clear. Can anyone point me to right place to achieve this objective? Thanks in advance. And sorry if that was too silly to ask. Anubhav
2017 Feb 10
2
Determining domain job kind from job stats?
Hi, is there a reliable way to find out to what kind of job does the information returned from virDomainGetJobStats or provided in VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event callback belong to? I'm specifically interested in distinguishing host-to-host migration jobs (e.g. those started by virDomainMigrateToUri* functions) from other jobs. If there is no better way, I'm thinking about examining presence...
2017 Feb 17
2
Re: Determining domain job kind from job stats?
Jiri Denemark <jdenemar@redhat.com> writes: > On Fri, Feb 10, 2017 at 21:50:19 +0100, Milan Zamazal wrote: >> Hi, is there a reliable way to find out to what kind of job does the >> information returned from virDomainGetJobStats or provided in >> VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event callback belong to? > > No, libvirt expects that the caller knows what job it started. All jobs > currently reported using virDomainGetJobStats API or > VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event are internally implemented as...
2017 Jan 10
0
Re: Regarding Migration Statistics
...oMigrate,nodeToMigrate); > > *clock_gettime(CLOCK_MONOTONIC_RAW,&end);* > > *Total Migration Time = end.tv_sec-begin.tv_sec* > > Is this correct way to calculate total migration time. And is there some > way to calculate the downtime (not how to set it)? Well, just call virDomainGetJobStats and you will get both total time and downtime and many more. > virDomainGetJobStats > <http://libvirt.org/html/libvirt-libvirt-domain.html#virDomainGetJobStats> Yes, this is the right API to get all the statistics you want. It returns a list of (key, type, value) entires in params. T...
2016 Apr 04
1
Can you get page dirtying information on non-migrating VMs?
Hello everyone, I've been looking through the libvirt API to get information about memory page dirtying of VMs. I need these to aid decisions on which VM to migrate. The only thing I found is virDomainGetJobStats() with VIR_DOMAIN_JOB_MEMORY_DIRTY_RATE but that only works when a migration is already running. Is there a way to get information on VMs which are not already migrating? Thanks and best regards, Dave
2017 Feb 16
0
Re: Determining domain job kind from job stats?
On Fri, Feb 10, 2017 at 21:50:19 +0100, Milan Zamazal wrote: > Hi, is there a reliable way to find out to what kind of job does the > information returned from virDomainGetJobStats or provided in > VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event callback belong to? No, libvirt expects that the caller knows what job it started. All jobs currently reported using virDomainGetJobStats API or VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event are internally implemented as migration in QEMU driv...
2017 Feb 17
0
Re: Determining domain job kind from job stats?
...2017 at 12:38:24 +0100, Milan Zamazal wrote: > Jiri Denemark <jdenemar@redhat.com> writes: > > > On Fri, Feb 10, 2017 at 21:50:19 +0100, Milan Zamazal wrote: > >> Hi, is there a reliable way to find out to what kind of job does the > >> information returned from virDomainGetJobStats or provided in > >> VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event callback belong to? > > > > No, libvirt expects that the caller knows what job it started. All jobs > > currently reported using virDomainGetJobStats API or > > VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event are...
2017 Feb 20
2
Re: Determining domain job kind from job stats?
...00, Milan Zamazal wrote: >> Jiri Denemark <jdenemar@redhat.com> writes: >> >> > On Fri, Feb 10, 2017 at 21:50:19 +0100, Milan Zamazal wrote: >> >> Hi, is there a reliable way to find out to what kind of job does the >> >> information returned from virDomainGetJobStats or provided in >> >> VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event callback belong to? >> > >> > No, libvirt expects that the caller knows what job it started. All jobs >> > currently reported using virDomainGetJobStats API or >> > VIR_DOMAIN_EVENT_ID_JOB_...
2014 Dec 10
1
How to use blockcopy in libvirt-java
Hi, ALL, I just look for the class and method to use blockcopy in libvirt-java on this page: http://libvirt.org/sources/java/javadoc/ However, I can not find out. Libvirt-java Support blockcopy ? Thanks. Best Regards, Star Guo