[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's

2011-01-29 Thread James Neave
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

[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's

2011-01-31 Thread James Neave
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

[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's

2011-01-31 Thread James Neave
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.

[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's

2011-01-31 Thread James Neave
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

[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's

2011-01-31 Thread James Neave
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.

[Bug 545795] Re: apparmor driver blocks access to hostdev and pcidev devices

2010-05-10 Thread James Neave
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,

[Bug 545795] Re: apparmor driver blocks access to hostdev and pcidev devices

2010-05-10 Thread James Neave
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

[Bug 545795] Re: apparmor driver blocks access to hostdev and pcidev devices

2010-05-10 Thread James Neave
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

[Bug 545795] Re: apparmor driver blocks access to hostdev and pcidev devices

2010-05-10 Thread James Neave
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