[libvirt] [PATCH] Fix up comments for isEncrypted, isSecure, domainIsActive, and domainIsPersistent.

Chris Lalancette clalance at redhat.com
Mon Apr 5 17:37:47 UTC 2010


Signed-off-by: Chris Lalancette <clalance at redhat.com>
---
 src/lxc/lxc_driver.c        |    8 ++++----
 src/opennebula/one_driver.c |    4 ++--
 src/phyp/phyp_driver.c      |    4 ++--
 src/qemu/qemu_driver.c      |    8 ++++----
 src/uml/uml_driver.c        |    8 ++++----
 src/vbox/vbox_tmpl.c        |    8 ++++----
 src/xen/xen_driver.c        |    8 ++++----
 7 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index b5d422c..c6b652d 100644
--- a/src/lxc/lxc_driver.c
+++ b/src/lxc/lxc_driver.c
@@ -2527,10 +2527,10 @@ static virDriver lxcDriver = {
     NULL, /* nodeDeviceReAttach */
     NULL, /* nodeDeviceReset */
     NULL, /* domainMigratePrepareTunnel */
-    lxcIsEncrypted,
-    lxcIsSecure,
-    lxcDomainIsActive,
-    lxcDomainIsPersistent,
+    lxcIsEncrypted, /* isEncrypted */
+    lxcIsSecure, /* isSecure */
+    lxcDomainIsActive, /* domainIsActive */
+    lxcDomainIsPersistent, /* domainIsPersistent */
     NULL, /* cpuCompare */
     NULL, /* cpuBaseline */
     NULL, /* domainGetJobInfo */
diff --git a/src/opennebula/one_driver.c b/src/opennebula/one_driver.c
index 4554d95..0d80d1f 100644
--- a/src/opennebula/one_driver.c
+++ b/src/opennebula/one_driver.c
@@ -781,8 +781,8 @@ static virDriver oneDriver = {
     NULL, /* nodeDeviceReAttach; */
     NULL, /* nodeDeviceReset; */
     NULL, /* domainMigratePrepareTunnel */
-    oneIsEncrypted,
-    oneIsSecure,
+    oneIsEncrypted, /* isEncrypted */
+    oneIsSecure, /* isSecure */
     NULL, /* domainIsActive */
     NULL, /* domainIsPersistent */
     NULL, /* cpuCompare */
diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c
index 28e17ff..b712d0a 100644
--- a/src/phyp/phyp_driver.c
+++ b/src/phyp/phyp_driver.c
@@ -1640,8 +1640,8 @@ virDriver phypDriver = {
     NULL,                       /* nodeDeviceReAttach */
     NULL,                       /* nodeDeviceReset */
     NULL,                       /* domainMigratePrepareTunnel */
-    phypIsEncrypted,
-    phypIsSecure,
+    phypIsEncrypted,            /* isEncrypted */
+    phypIsSecure,               /* isSecure */
     NULL,                       /* domainIsActive */
     NULL,                       /* domainIsPersistent */
     NULL,                       /* cpuCompare */
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index a87b974..bc94ce6 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -11325,10 +11325,10 @@ static virDriver qemuDriver = {
     qemudNodeDeviceReAttach, /* nodeDeviceReAttach */
     qemudNodeDeviceReset, /* nodeDeviceReset */
     qemudDomainMigratePrepareTunnel, /* domainMigratePrepareTunnel */
-    qemuIsEncrypted,
-    qemuIsSecure,
-    qemuDomainIsActive,
-    qemuDomainIsPersistent,
+    qemuIsEncrypted, /* isEncrypted */
+    qemuIsSecure, /* isSecure */
+    qemuDomainIsActive, /* domainIsActive */
+    qemuDomainIsPersistent, /* domainIsPersistent */
     qemuCPUCompare, /* cpuCompare */
     qemuCPUBaseline, /* cpuBaseline */
     qemuDomainGetJobInfo, /* domainGetJobInfo */
diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c
index dfa5de5..0179b2e 100644
--- a/src/uml/uml_driver.c
+++ b/src/uml/uml_driver.c
@@ -1926,10 +1926,10 @@ static virDriver umlDriver = {
     NULL, /* nodeDeviceReAttach */
     NULL, /* nodeDeviceReset */
     NULL, /* domainMigratePrepareTunnel */
-    umlIsEncrypted,
-    umlIsSecure,
-    umlDomainIsActive,
-    umlDomainIsPersistent,
+    umlIsEncrypted, /* isEncrypted */
+    umlIsSecure, /* isSecure */
+    umlDomainIsActive, /* domainIsActive */
+    umlDomainIsPersistent, /* domainIsPersistent */
     NULL, /* cpuCompare */
     NULL, /* cpuBaseline */
     NULL, /* domainGetJobInfo */
diff --git a/src/vbox/vbox_tmpl.c b/src/vbox/vbox_tmpl.c
index 62fd8e1..4b00a80 100644
--- a/src/vbox/vbox_tmpl.c
+++ b/src/vbox/vbox_tmpl.c
@@ -8138,10 +8138,10 @@ virDriver NAME(Driver) = {
     NULL, /* nodeDeviceReAttach */
     NULL, /* nodeDeviceReset */
     NULL, /* domainMigratePrepareTunnel */
-    vboxIsEncrypted,
-    vboxIsSecure,
-    vboxDomainIsActive,
-    vboxDomainIsPersistent,
+    vboxIsEncrypted, /* isEncrypted */
+    vboxIsSecure, /* isSecure */
+    vboxDomainIsActive, /* domainIsActive */
+    vboxDomainIsPersistent, /* domainIsPersistent */
     NULL, /* cpuCompare */
     NULL, /* cpuBaseline */
     NULL, /* domainGetJobInfo */
diff --git a/src/xen/xen_driver.c b/src/xen/xen_driver.c
index 7c4eb5e..0835406 100644
--- a/src/xen/xen_driver.c
+++ b/src/xen/xen_driver.c
@@ -1969,10 +1969,10 @@ static virDriver xenUnifiedDriver = {
     xenUnifiedNodeDeviceReAttach, /* nodeDeviceReAttach */
     xenUnifiedNodeDeviceReset, /* nodeDeviceReset */
     NULL, /* domainMigratePrepareTunnel */
-    xenUnifiedIsEncrypted,
-    xenUnifiedIsSecure,
-    xenUnifiedDomainIsActive,
-    xenUnifiedDomainisPersistent,
+    xenUnifiedIsEncrypted, /* isEncrypted */
+    xenUnifiedIsSecure, /* isSecure */
+    xenUnifiedDomainIsActive, /* domainIsActive */
+    xenUnifiedDomainisPersistent, /* domainIsPersistent */
     NULL, /* cpuCompare */
     NULL, /* cpuBaseline */
     NULL, /* domainGetJobInfo */
-- 
1.6.6.1




More information about the libvir-list mailing list