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 <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange 2013-02-07 16:42:37 +00:00
parent 9cceb0fc35
commit 5b984370f6
1 changed files with 1 additions and 1 deletions

View File

@ -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 */