[libvirt] [PATCH] qemu: avoid NULL derefs