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 | 812ed7a260b6003926c903b1938e341dedc44e35 (patch) | |
tree | 3507c0e366c469f2b311c1f21e5b53e8efd8bfd4 /generator.py | |
parent | 555abf6ad9753193a50ab0810b754db86bc82610 (diff) | |
download | libvirt-python-v6-812ed7a260b6003926c903b1938e341dedc44e35.tar.gz libvirt-python-v6-812ed7a260b6003926c903b1938e341dedc44e35.tar.xz libvirt-python-v6-812ed7a260b6003926c903b1938e341dedc44e35.zip |
Introduce public API for domain async job handlingv0.7.7
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 'generator.py')
-rwxr-xr-x | generator.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generator.py b/generator.py index 24eaf50..f7625fd 100755 --- a/generator.py +++ b/generator.py @@ -271,6 +271,7 @@ skip_impl = ( 'virConnGetLastError', 'virGetLastError', 'virDomainGetInfo', + 'virDomainGetJobInfo', 'virNodeGetInfo', 'virDomainGetUUID', 'virDomainGetUUIDString', |