[libvirt] [PATCH 6/9] virsh: add helpers for getting domain XML for XPath purposes