On 02/15/2018 11:50 AM, 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 needed. > > Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx> > --- > src/qemu/qemu_driver.c | 2 +- > src/qemu/qemu_migration.c | 2 +- > src/qemu/qemu_process.c | 38 ++++++++++++++++++-------------------- > src/qemu/qemu_process.h | 6 ++---- > tests/qemuxml2argvtest.c | 2 +- > 5 files changed, 23 insertions(+), 27 deletions(-) > Reviewed-by: John Ferlan <jferlan@xxxxxxxxxx> John -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list