[libvirt] [PATCH 1/2] qemu: Refactor lookup of domain object