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

Jiri Denemark jdenemar at redhat.com
Tue Dec 15 09:53:20 UTC 2009


Signed-off-by: Jiri Denemark <jdenemar at 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




More information about the libvir-list mailing list