VFIO Convert qemu commandline to libvirt XML file

I was using qemu for my VM until now. But since everybody else seems to be using libvirt, I want to try this out, too. Can somebody help me translate my qemu script to a libvirt xml?

I tried virsh domxml-from-native qemu-argv but it did either not work or not read the qemu arguments correctly. I just need a simple xml to start with, I think I can implement the devices myself then.