Jakob Sandgren wrote:
> > 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 argument
> > assigned_dev_iomem_map: Error: create new mapping failed
> >
> > Assigning 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







--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to