summaryrefslogtreecommitdiff
path: root/src/driver-hypervisor.h
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2019-08-23 11:31:15 -0500
committerMichal Privoznik <mprivozn@redhat.com>2019-08-26 17:27:40 +0200
commit96880b87d0a1b06fcdb4f4dc07b2cb811d9e0dee (patch)
treee48e505a9dc98147e5b48aa4c5115b0822daddf1 /src/driver-hypervisor.h
parent9d6737764f4d35ff95dc4eb052a8ba6caef7a332 (diff)
downloadlibvirt-96880b87d0a1b06fcdb4f4dc07b2cb811d9e0dee.tar.gz
lib: add virDomainGetGuestInfo()
This API is intended to aggregate several guest agent information queries and is ispired by stats API virDomainListGetStats(). It is anticipated that this information will be provided by a guest agent running within the domain. Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Tested-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'src/driver-hypervisor.h')
-rw-r--r--src/driver-hypervisor.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/driver-hypervisor.h b/src/driver-hypervisor.h
index c1632ae4c6..58eb731e85 100644
--- a/src/driver-hypervisor.h
+++ b/src/driver-hypervisor.h
@@ -1359,6 +1359,13 @@ typedef int
(*virDrvDomainCheckpointDelete)(virDomainCheckpointPtr checkpoint,
unsigned int flags);
+typedef int
+(*virDrvDomainGetGuestInfo)(virDomainPtr domain,
+ unsigned int types,
+ virTypedParameterPtr *params,
+ int *nparams,
+ unsigned int flags);
+
typedef struct _virHypervisorDriver virHypervisorDriver;
typedef virHypervisorDriver *virHypervisorDriverPtr;
@@ -1617,4 +1624,5 @@ struct _virHypervisorDriver {
virDrvDomainCheckpointLookupByName domainCheckpointLookupByName;
virDrvDomainCheckpointGetParent domainCheckpointGetParent;
virDrvDomainCheckpointDelete domainCheckpointDelete;
+ virDrvDomainGetGuestInfo domainGetGuestInfo;
};