[libvirt] [PATCH] Add function that raises error if domain is not active