[libvirt] [PATCH 8/9] virsh-domain: Use the virsh wrappers for getting XML to simplify code