[libvirt PATCH v3 21/25] qemuDomainGetImageIds: pass domain definition directly