]> xenbits.xensource.com Git - libvirt.git/commit
remote: change hand written methods to not directly access connection
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 29 Jul 2019 14:09:58 +0000 (15:09 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 9 Aug 2019 13:06:31 +0000 (14:06 +0100)
commit76d5208b216af9f1e65e2f0e7bac16811338900d
treecd358a02462200f7419f6698fe9ff4e3c790c83f
parent7ea3f0d7ba366b952006ba77deb950baeb334877
remote: change hand written methods to not directly access connection

The driver dispatch methods access the priv->conn variables directly.
In future we want to dynamically open the connections for the secondary
driver. Thus we want the methods to call a method to get the connection
handle instead of assuming the private variable is non-NULL.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/remote/remote_daemon_dispatch.c