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

Eric Blake eblake at redhat.com
Mon Apr 5 20:59:04 UTC 2010


On 04/05/2010 11:37 AM, Chris Lalancette wrote:
> 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 */

ACK; certainly makes it easier to track one-to-one correspondence.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100405/d62362e2/attachment-0001.sig>


More information about the libvir-list mailing list