Optimize use of libvirt virGetDomainInfo (TUI-117)