The pointer does not change throughout the while life of a parallels connection. Mark it as such. Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> --- src/parallels/parallels_utils.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/parallels/parallels_utils.h b/src/parallels/parallels_utils.h index 5731381..4797794 100644 --- a/src/parallels/parallels_utils.h +++ b/src/parallels/parallels_utils.h @@ -57,7 +57,10 @@ struct _parallelsConn { virMutex lock; + + /* Immutable pointer, self-locking APIs */ virDomainObjListPtr domains; + PRL_HANDLE server; PRL_UINT32 jobTimeout; virStoragePoolObjList pools; -- 2.0.5 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list