Hi,
Looks like this is also affecting me. :(
I'm trying to pass a PCI tuner through to a virtual machine, I have an AMD
890FX based board with IOMMU and it's switched on in the BIOS.
Running Ubuntu server 10.10 x64.
Flashydave: It sounds like you've actually got this working, have you
written
OK, I've tried the following:
1) Recompile kernel with all the same options except enabling DMAR.
2) Edit the apparmour profile to match suggested by flashydave
3) Installed latest qemu-kvm from kvm edgers ppa:
https://launchpad.net/~ubuntu-server-edgers/+archive/server-edgers-qemu-kvm
Attached
Here is the test.log
** Attachment added: test.log
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/639712/+attachment/1820712/+files/test.log
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
These commands:
echo 1106 3038 /sys/bus/pci/drivers/pci-stub/new_id
echo :08:06.0 /sys/bus/pci/devices/:08:06.0/driver/unbind
echo :08:06.0 /sys/bus/pci/drivers/pci-stub/bind
From here:
http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM
Did nothing.
However
Reboot did nothing, game over for now.
The driver 'pci-stub' is occupying your device
I thought pci-stub taking the device is what it was supposed to do?
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
Hi,
I think I may also be having this problem, I'm trying to pass through a PCI
WinTV NOVA T 500.
It's actually a pair of USB DVB-T tuners on a PCI card so it needed the 'three
stars' in the /sys path in the apparmour profile.
I appended the improved solution:
/sys/bus/usb/devices/ r,
Rebooting the PC fixed that problem so I guess something hadn't been reloaded.
I've also added /dev/** rwk, to the apparmour profile. Taking it away doesn't
stop it from working again, although I've not tried rebooting the host yet.
It still doesn't quite work however, as now (on the guest) I
Hmm, it seems thats actually because usb2 is not supported in KVM?
I tried passing through the PCI card itself, but I'm back to permission
denied :(
device: 03:06.0: driver=pci-assign host=03:06.0
device: 03:06.1: driver=pci-assign host=03:06.1
device: 03:06.2: driver=pci-assign host=03:06.2
Found the apparmour errors in syslog, related to virt-aa helper.
I added /sys/devices/** r, to usr.lib.virt-aa-helper and got a bit further.
Still getting this:
May 10 23:14:25 hal kernel: [ 179.037233] type=1503
audit(1273529665.107:22): operation=open pid=1601 parent=1 profile