Hello and welcome.
I do not recommend libvirt compute resource for production deployments, it is meant more for development scenarios. With that, I need you to share the XML request that goes into libvirt, there is some kind of parsing error there.
Also, state libvirt version (kvm.example.com) and OS.