[libvirt] [PATCH] qemu: remove nested branching to enhance readability