[PATCH 6/6] parallels: remove domains list from _parallelsConn structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Dmitry Guryanov <dguryanov@xxxxxxxxxxxxx>
---
 src/parallels/parallels_driver.c |    5 -----
 src/parallels/parallels_utils.h  |    1 -
 2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/parallels/parallels_driver.c b/src/parallels/parallels_driver.c
index 72e32ff..96a8ab1 100644
--- a/src/parallels/parallels_driver.c
+++ b/src/parallels/parallels_driver.c
@@ -671,9 +671,6 @@ parallelsOpenDefault(virConnectPtr conn)
     if (!(privconn->caps = parallelsBuildCapabilities()))
         goto error;
 
-    if (!(privconn->domains = parallelsGetDomains(privconn)))
-        goto error;
-
     conn->privateData = privconn;
 
     return VIR_DRV_OPEN_SUCCESS;
@@ -725,8 +722,6 @@ parallelsClose(virConnectPtr conn)
 
     parallelsDriverLock(privconn);
     virCapabilitiesFree(privconn->caps);
-    virDomainObjListDeinit(privconn->domains);
-    VIR_FREE(privconn->domains);
     conn->privateData = NULL;
 
     parallelsDriverUnlock(privconn);
diff --git a/src/parallels/parallels_utils.h b/src/parallels/parallels_utils.h
index 3468c1d..16a880f 100644
--- a/src/parallels/parallels_utils.h
+++ b/src/parallels/parallels_utils.h
@@ -32,7 +32,6 @@
 
 struct _parallelsConn {
     virMutex lock;
-    virDomainObjListPtr domains;
     virStoragePoolObjList pools;
     virCapsPtr caps;
     virDomainEventStatePtr domainEventState;
-- 
1.7.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]