diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2010-02-03 11:31:45 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2010-03-02 16:22:30 +0000 |
commit | 7d575e09e258098e689445901480915052a548c1 (patch) | |
tree | 467c339b90c88e562e7331b98ff0e3d567374a90 /python/generator.py | |
parent | build: silence coverity warning in node_device (diff) | |
download | libvirt-7d575e09e258098e689445901480915052a548c1.tar.gz libvirt-7d575e09e258098e689445901480915052a548c1.tar.bz2 libvirt-7d575e09e258098e689445901480915052a548c1.zip |
Introduce public API for domain async job handling
Introduce a new public API that provides a way to get progress
info on currently running jobs on a virDomainpPtr. APIs that
are initially within scope of this idea are
virDomainMigrate
virDomainMigrateToURI
virDomainSave
virDomainRestore
virDomainCoreDump
These all take a potentially long time and benefit from monitoring.
The virDomainJobInfo struct allows for various pieces of information
to be reported
- Percentage completion
- Time
- Overall data
- Guest memory data
- Guest disk/file data
* include/libvirt/libvirt.h.in: Add virDomainGetJobInfo
* python/generator.py, python/libvirt-override-api.xml,
python/libvirt-override.c: Override for virDomainGetJobInfo API
* python/typewrappers.c, python/typewrappers.h: Introduce wrapper
for unsigned long long type
Diffstat (limited to 'python/generator.py')
-rwxr-xr-x | python/generator.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/generator.py b/python/generator.py index 24eaf502d..f7625fd3b 100755 --- a/python/generator.py +++ b/python/generator.py @@ -271,6 +271,7 @@ skip_impl = ( 'virConnGetLastError', 'virGetLastError', 'virDomainGetInfo', + 'virDomainGetJobInfo', 'virNodeGetInfo', 'virDomainGetUUID', 'virDomainGetUUIDString', |