[libvirt] Reworked the XML verification patch for svirt