Problem with PCI device assignment (KVM-79, 2.6.28)
Quoted 10 lines · Jakob Sandgren
Quoted 10 lines
Hi,
I get the following (fatal) error when trying to assign a pci device (USB 2.0 controller) to a guest:
create_userspace_phys_mem: Invalid argumentassigned_dev_iomem_map: Error: create new mapping failedAssigning another (USB 1.1) device works.
Can you check what lspci -v says?
I suspect the size of a memory region is not a multiple of 4096. Same thing happens for me for a network and a dvb card.
As far as I know, the mapping code can only map whole pages. So the code has to expand the size to the nearest multiple.
Best regards,
Jan C. Bernauer