PCI passthrough to Windows 7 VM

eric_f

New Member
Oct 14, 2011
13
1
1
Hi everybody

I am trying to pass a video card to my Windows 7 VM and having some issues.
I am running the latest Proxmox, version 3.1-17.

I have configured the VM to use the card, and Windows sees it and installs the drivers, but in the device manager it says "Windows has stopped this device because it has reported problems. (Code 43)"

I am running an AMD based server, and have enabled IOMMU in the BIOS.

I have enabled IOMMU in GRUB
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on"

Set the options in modprobe.d

Code:
root@peterbilt:~# cat /etc/modprobe.d/kvm_iommu_map_guest.conf 
options kvm allow_unsafe_assigned_interrupts=1


Code:
root@peterbilt:~# cat /etc/pve/nodes/peterbilt/qemu-server/102.conf 
bootdisk: sata0
cores: 4
memory: 4096
name: xbmc-posters
net0: e1000=46:21:DC:31:6A:0E,bridge=vmbr0
ostype: win7
sata0: local:102/vm-102-disk-1.raw,format=raw,size=32G
sockets: 4
balloon: 0
usb0: host=046d:0a03
hostpci0: 05:00.0
hostpci1: 05:00.1

Code:
root@peterbilt:~# lspci 
00:00.0 Host bridge: Advanced Micro Devices [AMD] nee ATI RD890 Northbridge only dual slot (2x16) PCI-e GFX Hydra part (rev 02)
00:00.2 IOMMU: Advanced Micro Devices [AMD] nee ATI RD990 I/O Memory Management Unit (IOMMU)
00:02.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port B)
00:04.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port D)
00:09.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port H)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (external gfx1 port A)
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 3d)
00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
00:19.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:19.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:19.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:19.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:19.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
00:1a.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:1a.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:1a.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:1a.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:1a.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
00:1b.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:1b.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:1b.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:1b.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:1b.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:09.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 10)
02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
03:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
04:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
04:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
05:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV630 [Radeon HD 2600XT]
05:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV630 audio device [Radeon HD 2600 Series]

Code:
root@peterbilt:~# lspci -t
-[0000:00]-+-00.0
           +-00.2
           +-02.0-[05]--+-00.0
           |            \-00.1
           +-04.0-[04]--+-00.0
           |            \-00.1
           +-09.0-[03]----00.0
           +-0a.0-[02]----00.0
           +-11.0
           +-12.0
           +-12.1
           +-12.2
           +-13.0
           +-13.1
           +-13.2
           +-14.0
           +-14.1
           +-14.3
           +-14.4-[01]----09.0
           +-14.5
           +-18.0
           +-18.1
           +-18.2
           +-18.3
           +-18.4
           +-19.0
           +-19.1
           +-19.2
           +-19.3
           +-19.4
           +-1a.0
           +-1a.1
           +-1a.2
           +-1a.3
           +-1a.4
           +-1b.0
           +-1b.1
           +-1b.2
           +-1b.3
           \-1b.4


I have been scratching my head for a few days at this and not gotten anywhere. If anybody has any ideas it would be appreciated.

Thanks
Eric
 
Yeah exactly the same here. Is it possible or not? I didn't find any thread which is showing that somebody get it working...

Eric what was your solution?

Thanks in advance for reply

Gesendet von meinem XT890 mit Tapatalk
 

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!