[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's
I was able to assign a PCI device to a VM via PCI pass through/vt-d with Wily/4.2 after adding 'intel_iommu=on' to the kernel cmdline. Can you please re-test with this option and the latest kernel to see if this works now? Thanks ** Changed in: libvirt (Ubuntu) Status: Triaged => Incomplete ** Changed in: qemu-kvm (Ubuntu) Status: Triaged => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/639712 Title: PCI Pass Through via libvirt cannot remap IRQ's To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/639712/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's
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. https://bugs.launchpad.net/bugs/639712 Title: PCI Pass Through via libvirt cannot remap IRQ's -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's
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 earlier I had the error about 4k pages (although that was before I installed the latest qemu-kvm package) Going to try after a reboot. J. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/639712 Title: PCI Pass Through via libvirt cannot remap IRQ's -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's
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. https://bugs.launchpad.net/bugs/639712 Title: PCI Pass Through via libvirt cannot remap IRQ's -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's
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 is the dmesg and log output. ** Attachment added: "dmesg" https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/639712/+attachment/1820711/+files/dmesg -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/639712 Title: PCI Pass Through via libvirt cannot remap IRQ's -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's
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 a guide on how to to it by any chance? /var/log/libvirt/qemu/test.log: LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 512 -smp 3,sockets=3,cores=1,threads=1 -name test -uuid 8bda983a-8f07-80ac-da02-2c7298637d96 -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/test.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=utc -boot c -drive file=/var/lib/libvirt/images/test.img,if=none,id=drive-virtio-disk0,boot=on,format=raw -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:dd:10:7d,bus=pci.0,addr=0x3 -net tap,fd=56,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -vnc 127.0.0.1:0 -vga cirrus -device pci-assign,host=08:06.0,id=hostdev0,bus=pci.0,addr=0x6 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 char device redirected to /dev/pts/1 pci_add_option_rom: failed to find romfile "pxe-virtio.bin" Failed to assign device "hostdev0" : Device or resource busy Failed to deassign device "hostdev0" : Invalid argument Error initializing device pci-assign -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/639712 Title: PCI Pass Through via libvirt cannot remap IRQ's -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's
I have the same Problem. I will use a 1394 device. -- PCI Pass Through via libvirt cannot remap IRQ's https://bugs.launchpad.net/bugs/639712 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's
I'm marking this 'Linux' (upstream) task as based on the bug info. Additionally, Even for Ubuntu project 'linux' changes would be covered under bug 552311 ** Also affects: qemu-kvm (Ubuntu) Importance: Undecided Status: New ** Changed in: linux Status: New => Invalid ** Changed in: libvirt (Ubuntu) Importance: Undecided => Medium ** Changed in: libvirt (Ubuntu) Status: New => Triaged ** Changed in: qemu-kvm (Ubuntu) Importance: Undecided => Medium ** Changed in: qemu-kvm (Ubuntu) Status: New => Triaged -- PCI Pass Through via libvirt cannot remap IRQ's https://bugs.launchpad.net/bugs/639712 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's
Yes. That aspect has been noted already in Bug #552311. Depending on how we deal with the various components of this issue it might be sensible to track the config changes under that reference. -- PCI Pass Through via libvirt cannot remap IRQ's https://bugs.launchpad.net/bugs/639712 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's
Thanks for reporting this bug and helping to make Ubuntu better. So the first step, it sounds like, would be to pursue enabling the CONFIGs you need in Ubuntu's kernel. There may be a specific reason why it isn't yet, but if not we can see about requesting that it be enabled in for Natty. ** Also affects: linux Importance: Undecided Status: New -- PCI Pass Through via libvirt cannot remap IRQ's https://bugs.launchpad.net/bugs/639712 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 639712] Re: PCI Pass Through via libvirt cannot remap IRQ's
** Attachment added: "Dependencies.txt" https://bugs.launchpad.net/bugs/639712/+attachment/1589223/+files/Dependencies.txt -- PCI Pass Through via libvirt cannot remap IRQ's https://bugs.launchpad.net/bugs/639712 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs