Re: [libvirt] [PATCH v3 1/2] qemu: Fix virDoes*Exist usage

2018-11-20 Thread Erik Skultety
On Mon, Nov 19, 2018 at 10:35:56PM +0100, Martin Kletzander wrote: > The virGet*ID() functions should be called only if the user exists not when it > doesn't. > > Signed-off-by: Martin Kletzander > --- Reviewed-by: Erik Skultety -- libvir-list mailing list libvir-list@redhat.com https://www.redh

[libvirt] [PATCH v3 1/2] qemu: Fix virDoes*Exist usage

2018-11-19 Thread Martin Kletzander
The virGet*ID() functions should be called only if the user exists not when it doesn't. Signed-off-by: Martin Kletzander --- src/qemu/qemu_conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c index 32da9a735184..a946b05d5d47 1