From: Daniel P. Berrange Date: Thu, 7 Feb 2013 16:42:37 +0000 (+0000) Subject: Fix comment about virCgroupPtr locking rules in QEMU driver X-Git-Tag: v1.0.3-rc1~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b984370f60e17f1db1eee1773e25c239aff5b7e;p=thirdparty%2Flibvirt.git Fix comment about virCgroupPtr locking rules in QEMU driver The virCgroupPtr instance APIs are safe to use without locking in the QEMU driver, since all internal state they rely on is immutable. Update the comment to reflect this. Signed-off-by: Daniel P. Berrange --- diff --git a/src/qemu/qemu_conf.h b/src/qemu/qemu_conf.h index 60c410940e..8fada4e706 100644 --- a/src/qemu/qemu_conf.h +++ b/src/qemu/qemu_conf.h @@ -164,7 +164,7 @@ struct _virQEMUDriver { /* Atomic increment only */ int nextvmid; - /* Immutable pointer. Unsafe APIs XXX */ + /* Immutable pointer. Immutable object */ virCgroupPtr cgroup; /* Atomic inc/dec only */