[libvirt] [PATCH v3 11/13] Set cpuCompare handler in drivers

Jiri Denemark jdenemar at redhat.com
Tue Dec 15 23:04:08 UTC 2009


Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
---
 src/esx/esx_driver.c       |    1 +
 src/lxc/lxc_driver.c       |    1 +
 src/openvz/openvz_driver.c |    1 +
 src/test/test_driver.c     |    1 +
 src/uml/uml_driver.c       |    1 +
 src/vbox/vbox_tmpl.c       |    1 +
 6 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c
index ea464a3..c7b9e06 100644
--- a/src/esx/esx_driver.c
+++ b/src/esx/esx_driver.c
@@ -3428,6 +3428,7 @@ static virDriver esxDriver = {
     esxIsSecure,                     /* isSecure */
     esxDomainIsActive,               /* domainIsActive */
     esxDomainIsPersistent,           /* domainIsPersistent */
+    NULL,                            /* cpuCompare */
 };
 
 
diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index c8e2dca..1ce7ad6 100644
--- a/src/lxc/lxc_driver.c
+++ b/src/lxc/lxc_driver.c
@@ -2454,6 +2454,7 @@ static virDriver lxcDriver = {
     lxcIsSecure,
     lxcDomainIsActive,
     lxcDomainIsPersistent,
+    NULL, /* cpuCompare */
 };
 
 static virStateDriver lxcStateDriver = {
diff --git a/src/openvz/openvz_driver.c b/src/openvz/openvz_driver.c
index 1c0fccc..b62070f 100644
--- a/src/openvz/openvz_driver.c
+++ b/src/openvz/openvz_driver.c
@@ -1533,6 +1533,7 @@ static virDriver openvzDriver = {
     openvzIsSecure,
     openvzDomainIsActive,
     openvzDomainIsPersistent,
+    NULL, /* cpuCompare */
 };
 
 int openvzRegister(void) {
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index 7db9a4c..5c61f24 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -5236,6 +5236,7 @@ static virDriver testDriver = {
     testIsSecure, /* isEncrypted */
     testDomainIsActive, /* domainIsActive */
     testDomainIsPersistent, /* domainIsPersistent */
+    NULL, /* cpuCompare */
 };
 
 static virNetworkDriver testNetworkDriver = {
diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c
index 48ef103..e6ba773 100644
--- a/src/uml/uml_driver.c
+++ b/src/uml/uml_driver.c
@@ -1922,6 +1922,7 @@ static virDriver umlDriver = {
     umlIsSecure,
     umlDomainIsActive,
     umlDomainIsPersistent,
+    NULL, /* cpuCompare */
 };
 
 
diff --git a/src/vbox/vbox_tmpl.c b/src/vbox/vbox_tmpl.c
index d6b681c..bede574 100644
--- a/src/vbox/vbox_tmpl.c
+++ b/src/vbox/vbox_tmpl.c
@@ -7049,6 +7049,7 @@ virDriver NAME(Driver) = {
     vboxIsSecure,
     vboxDomainIsActive,
     vboxDomainIsPersistent,
+    NULL, /* cpuCompare */
 };
 
 virNetworkDriver NAME(NetworkDriver) = {
-- 
1.6.5.6




More information about the libvir-list mailing list