[libvirt] [PATCH 08/26] qemu: Tweak index number checking