[PATCHv2 2/9] virNodeGetCPUMapFlags: Define driver API.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Extend the driver structure by nodeGetCPUMapFlags entry in support of the
new API virNodeGetCPUMapFlags.

Signed-off-by: Viktor Mihajlovski <mihajlov@xxxxxxxxxxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]