[libvirt] [PATCH 3/9] qemu: command: Move disk index validation closer to usage