PCI passthrough

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

 



Hi.
I'm using Proxmox VE 3.4 with qemu-server 3.3, and I'm trying to pass
two PCI-Express AudioScience soundcards to a KVM virtual machine.

The soundcards are the following:

ve2:/# lspci
03:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200A PCI
Express-to-PCI Bridge (rev 03)
04:00.0 Multimedia audio controller: Texas Instruments TMS320C6414
TMS320C6415 TMS320C6416
05:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200A PCI
Express-to-PCI Bridge (rev 03)
06:00.0 Multimedia audio controller: Texas Instruments TMS320C6414
TMS320C6415 TMS320C6416

and I configured the virtual machine in this way:

machine: q35
hostpci0: 03:00.0
hostpci1: 04:00.0
hostpci2: 05:00.0
hostpci3: 06:00.0

But when I try to start the virtual machine I get the following error:

ve2:/# qm start 202
kvm: -device pci-assign,host=03:00.0,id=hostpci0,bus=pci.0,addr=0x10:
Device assignment only supports endpoint assignment, device type 7
kvm: -device pci-assign,host=03:00.0,id=hostpci0,bus=pci.0,addr=0x10:
Device initialization failed.
kvm: -device pci-assign,host=03:00.0,id=hostpci0,bus=pci.0,addr=0x10:
Device 'kvm-pci-assign' could not be initialized

I realized that I cannot pass the PCI bridge, so the VM starts passing
only 04:00.0 and 06:00.0 devices.

But Alsa on the virtual machine cannot recognise the soundcards, so
I'm thinking that the problem could be that I'm not passing the PCI
bridge.

Could you help me please?

Thank you very much!
Bye
--
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