From 5b984370f60e17f1db1eee1773e25c239aff5b7e Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Thu, 7 Feb 2013 16:42:37 +0000 Subject: [PATCH] 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 --- src/qemu/qemu_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.47.2