1 PCI Card, 4 Devices - PCI Passtrough

bforpc

Renowned Member
Nov 26, 2013
147
4
83
Hamburg
Hello there,

first of all: proxmox is very nice, good work, i have used virtualbox before.

I have an Asrock 970 Board with an AMD 6 core, BIOS enabled IOMMU and kernel_boot Option "amd_iommu=on".
dmesg show me this:

Code:
[COLOR=#333333]dmesg | grep -e DMAR -e IOMMU[/COLOR]Please enable the IOMMU option in the BIOS setup [COLOR=#333333]AMD-Vi: Enabling IOMMU at 0000:00:00.2 cap 0x40
[/COLOR]

My dvb Card (only one Card) has this lspci infos at proxmox host:

Code:
03:05.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
03:05.1 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
03:05.2 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
03:05.4 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [IR Port] (rev 05)

Also, i have all dvb* and card specific modules in the blacklist and set the option
echo "options kvm allow_unsafe_assigned_interrupts=1">/etc/modprobe.d/kvm_iommu_map_guest.conf


if i use the line "hostpci0: 03:05.0" in the the vm.conf, it won't start with parsing error.
With "hostpci 03:05.0" it starts... (hostpci without the zero).

Then in the vm i see with lspci this:

lspci
Code:
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:03.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon
00:12.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)

Where is my device and where is the "rest" of it ?


Jan
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!