On 8/10/20 2:03 PM, Christoph wrote:
I use this command: virsh domxml-from-native xen-xl /etc/xen/marax_hvm.cfg If this line: pci = [ "01:00.0", "01:00.1", "01:00.2", "01:00.3", "00:1f.3", "06:00.0" ] is activated I get this error: error: An error occurred, but the cause is unknown
That's not a very helpful error message and in no way points to the problem: the converter expects full dddd.bb.ss.f format for each PCI device. If you add the domain to each of the above it will work. E.g.
pci = [ "0000:01:00.0", "0000:01:00.1", "0000:01:00.2", "0000:01:00.3", "0000:00:1f.3", "0000:06:00.0" ]
I'll work on a patch to improve the converter. IMO it should accept the bb.ss.f format and assume domain '0000' if not specified. I'll cc you when posting the patch to libvirt-dev.
Regards, Jim