[libvirt] [PATCH] qemu: avoid pass null pointer as an argument