summaryrefslogtreecommitdiff
path: root/src/driver-hypervisor.h
diff options
context:
space:
mode:
authorScott Garfinkle <scottgar@linux.vnet.ibm.com>2017-08-17 17:17:19 -0500
committerJohn Ferlan <jferlan@redhat.com>2017-08-26 07:55:17 -0400
commit4601a546b7b2b09b591a92930aa62873d5dc2583 (patch)
tree36e7d99dbc26d9fa30316d7ae3d8f9974330416f /src/driver-hypervisor.h
parented9db36b426dcf9e4c34f2126379c339773f6db8 (diff)
downloadlibvirt-4601a546b7b2b09b591a92930aa62873d5dc2583.tar.gz
Add virDomainMigrateGetMaxDowntime public API
Add virDomainMigrateGetMaxDowntime to support querying maximum allowable downtime during live migration.
Diffstat (limited to 'src/driver-hypervisor.h')
-rw-r--r--src/driver-hypervisor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/driver-hypervisor.h b/src/driver-hypervisor.h
index 3053d7ae8c..7b35e9e68d 100644
--- a/src/driver-hypervisor.h
+++ b/src/driver-hypervisor.h
@@ -697,6 +697,11 @@ typedef int
(*virDrvDomainAbortJob)(virDomainPtr domain);
typedef int
+(*virDrvDomainMigrateGetMaxDowntime)(virDomainPtr domain,
+ unsigned long long *downtime,
+ unsigned int flags);
+
+typedef int
(*virDrvDomainMigrateSetMaxDowntime)(virDomainPtr domain,
unsigned long long downtime,
unsigned int flags);
@@ -1412,6 +1417,7 @@ struct _virHypervisorDriver {
virDrvDomainGetJobInfo domainGetJobInfo;
virDrvDomainGetJobStats domainGetJobStats;
virDrvDomainAbortJob domainAbortJob;
+ virDrvDomainMigrateGetMaxDowntime domainMigrateGetMaxDowntime;
virDrvDomainMigrateSetMaxDowntime domainMigrateSetMaxDowntime;
virDrvDomainMigrateGetCompressionCache domainMigrateGetCompressionCache;
virDrvDomainMigrateSetCompressionCache domainMigrateSetCompressionCache;