Extend the driver structure by nodeGetCPUMapFlags entry in support of the
new API virNodeGetCPUMapFlags.
Signed-off-by: Viktor Mihajlovski <mihajlov(a)linux.vnet.ibm.com>
---
src/driver.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/driver.h b/src/driver.h
index bdcaa01..1af9568 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -898,6 +898,12 @@ typedef int
int nparams,
unsigned int flags);
+typedef int
+ (*virDrvNodeGetCPUMapFlags)(virConnectPtr conn,
+ unsigned char **cpumap,
+ unsigned int *online,
+ unsigned int flags);
+
/**
* _virDriver:
*
@@ -1087,6 +1093,7 @@ struct _virDriver {
virDrvDomainGetMetadata domainGetMetadata;
virDrvNodeGetMemoryParameters nodeGetMemoryParameters;
virDrvNodeSetMemoryParameters nodeSetMemoryParameters;
+ virDrvNodeGetCPUMapFlags nodeGetCPUMapFlags;
};
typedef int
--
1.7.0.4