From 812ed7a260b6003926c903b1938e341dedc44e35 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Wed, 3 Feb 2010 11:31:45 +0000 Subject: 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 --- libvirt-override-api.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libvirt-override-api.xml') diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml index 76a6fd5..1260c0c 100644 --- a/libvirt-override-api.xml +++ b/libvirt-override-api.xml @@ -48,6 +48,11 @@ + + Extract information about an active job being processed for a domain. + + + Extract hardware information about the Node. -- cgit