]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote: change generated methods to not directly access connection
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 17 Jul 2019 14:26:08 +0000 (15:26 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 9 Aug 2019 13:06:31 +0000 (14:06 +0100)
commit9cc8ecc809cefaf79583ca05da7472fe7e1bfd7c
tree7e91a6d78c9edcce7fff6cb2c7844c6b94460179
parent690f02751f75fa508052b98e7de385916dbdefba
remote: change generated 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/admin/admin_server_dispatch.c
src/remote/remote_daemon_dispatch.c
src/rpc/gendispatch.pl