Re: [libvirt] [PATCH 5/6] qemu: stop passing in virConnectPtr for looking up networks

2018-02-13 Thread John Ferlan
On 02/09/2018 12:24 PM, Daniel P. Berrangé wrote: > When setting up graphics, we sometimes need to resolve networks, > requiring the caller to pass in a virConnectPtr, except sometimes they > pass in NULL. Use virGetConnectNetwork() to acquire the connection to > the network driver when it is nee

[libvirt] [PATCH 5/6] qemu: stop passing in virConnectPtr for looking up networks

2018-02-09 Thread Daniel P . Berrangé
When setting up graphics, we sometimes need to resolve networks, requiring the caller to pass in a virConnectPtr, except sometimes they pass in NULL. Use virGetConnectNetwork() to acquire the connection to the network driver when it is needed. Signed-off-by: Daniel P. Berrangé --- src/qemu/qemu_