Displaying 3 results from an estimated 3 matches for "uio0".
Did you mean:
uio
2014 Oct 20
0
Libvirt with containers
Hi,
I am trying to define a container using libvirt, and I need to allow access of the device /dev/uio0 on the host on the container as well. That is, I have the following line in the container config file:
lxc.mount.entry = /dev/uio0 dev/uio0 none bind,create=file
lxc.cgroup.devices.allow = c 249:1 rwm
And I want to add it in the libvirt XML file for the container.
I tried something like:
&l...
2011 Aug 24
0
Bug#639112: xen: DomU access to dual-ported RAM area on PCI card fails
...troubles to access the dual-ported RAM area on a PCI card
using the Linux uio driver framework.
The PCI passthru of the PCI card from Dom0 to DomU seems to be ok as the
uio drivers are successfully loaded and the physical address and length
of the DPM area are available under "/sys/class/uio/uio0/maps/map0/".
Both Dom0 + DomU are based on Debian 6.0.2 (Squezze)
Linux-2.6.32-5-xen-686 / Xen-4.0.1-2
I try to access the DPM area like this (pseudo code):
fd = open("/dev/uio0");
dpm_addr = uio_get_addr("/sys/class/uio/uio0/maps/map0/addr");
dpm_size = uio_get_size(...
2012 Jul 12
1
Bug#639112: DomU access to dual-ported RAM area on PCI card fails
Hi David,
Are the resources which you are trying to map from inside the domU
correctly represented in the PCI device's BARs?
I suspect that it would be worthwhile to try the Wheezy 3.2 based kernel
in your domU.
If this doesn't help then your best bet is likely to be to the upstream
mailing list.
Ian.