1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00

struct _parallelsConn: Mark @domains as immutable pointer

The pointer does not change throughout the while life of a
parallels connection. Mark it as such.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik 2015-04-22 18:07:06 +02:00
parent 615bdfda07
commit 859e6801db

View File

@ -57,7 +57,10 @@
struct _parallelsConn {
virMutex lock;
/* Immutable pointer, self-locking APIs */
virDomainObjListPtr domains;
PRL_HANDLE server;
PRL_UINT32 jobTimeout;
virStoragePoolObjList pools;