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

[libvirt] [PATCH v2 04/13] Internal driver API



Signed-off-by: Jiri Denemark <jdenemar redhat com>
---
 src/driver.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/driver.h b/src/driver.h
index 09ce8e2..c9177fa 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -349,6 +349,10 @@ typedef int
 typedef int
     (*virDrvDomainIsPersistent)(virDomainPtr dom);
 
+typedef int
+    (*virDrvCPUCompare)(virConnectPtr conn,
+                        const char *cpu);
+
 /**
  * _virDriver:
  *
@@ -435,6 +439,7 @@ struct _virDriver {
     virDrvConnectIsSecure      isSecure;
     virDrvDomainIsActive       domainIsActive;
     virDrvDomainIsPersistent   domainIsPersistent;
+    virDrvCPUCompare            cpuCompare;
 };
 
 typedef int
-- 
1.6.5.6


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