Device pass through using KVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi ,

     My goal is to assign pci device using Vt-d capability. I have a
Supermicro Server X8DTU-F motherboard. I verified that it had Vt-d
capability and enabled it in BIOS. Iam using KVM-86 (as I had some
compilation error in KVM-87).

      My first try was to use Ubuntu 9.04 (with kvm modules from
kvm-86) to assign my ethernet controller to guest Ubuntu 9.04. I
didn't notice any error messages when I ran qemu-system-x86_64. I was
able to see the pci device in the guest system using lspci, the
drivers were loaded but I could get an IP address.

      I then followed the steps described in "how-to" and try to run
the same setup with 2.6.30.1 (only in this kernel I can enable DMA
remapping and pci-stub driver). This time I got the following  error
messages while running qemu-system-x86_64.

  sudo ./qemu-system-x86_64 -hda /home/ami/vdisk.img -m 1G -net none
-pcidevice host=01:00.1
assign_irq: deassign: Invalid argument
assign_irq: deassign: Invalid argument
assign_irq: deassign: Invalid argument
assigned_dev_update_msix: deassign irq: Invalid argument
assigned_dev_update_msix: deassign irq: Invalid argument
fail to set MSI-X entry number for MSIX! Invalid argument
assigned_dev_update_msix_mmio: Invalid argument

     I couldn't see the pci device in the guest OS (Ubuntu )

I have also tried it on another Server board with similar results, i.e
even if lspci shows successfully , cant get ip address

     I would appreciate any help on this. Am I missing anything ?

Thanks,
Vinoth.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux