Unreliable guest booting with PCI passthrough

Michael Warner

New Member
Dec 13, 2016
1
0
1
38
Hey all, I've setup a Proxmox host with MacOS and Windows 10 as guests. This is my first time setting something like this up and I've been blown away by how easy it was and the level of performance you can get.

The problem I'm running into is the guests won't reliably boot. Sometimes they simply show 12 or 25% cpu usage and nothing happens. This happens less if I wait at least 60s from either shutdown or startup of any guest before booting a guest, it also seems less likely to happen if I boot the Windows guest first followed by the Mac one. Both hosts have pcie passthrough (each has its own gnu, nvme, and usb controller). When running without passthrough boot is 100% reliable. Dmesg and kern.log have no errors, output is identical regardless of a successful boot or not.

I'm new to all this so I have no idea where to start looking, is there any particular log files or possible configuration errors that would be a starting point? Or is this just life with Gpu passthrough? :D

On Proxmox 4.3
Guest Configuration

args: -device isa-applesmc,osk="*******" -smbios type=2 -cpu Penryn,kvm=off,vendor=GenuineIntel
bios: ovmf
bootdisk: sata1
cores: 4
efidisk0: local-lvm:vm-100-disk-1,size=128K
hostpci0: 0b:00.0;0b:00.1,pcie=1,x-vga=on
hostpci1: 00:14.0,pcie=1
hostpci2: 0c:00.0,pcie=1
machine: pc-q35-2.4
memory: 12386
name: MacOS
net0: e1000-82545em=5E:4C:2B:3B:C3:40,bridge=vmbr0
onboot: 1
ostype: other
sata0: local-lvm:vm-100-disk-4,backup=0,size=1536G
sata1: local-lvm:vm-100-disk-3,size=2G
scsihw: virtio-scsi-pci
smbios1: uuid=0C2009DD-B907-4C9B-8F16-8F2339010A81
sockets: 1
startup: order=2,up=60,down=60
tablet: 0

bios: ovmf
boot: c
bootdisk: scsi1
cores: 4
cpu: host
efidisk0: local-lvm:vm-101-disk-2,size=128K
hostpci0: 01:00,pcie=1,x-vga=on
hostpci1: 09:00.0,pcie=1
machine: q35
memory: 16384
net0: virtio=F7:82:CB:4A:C6:8D,bridge=vmbr0
numa: 1
onboot: 1
ostype: win8
scsi0: local-lvm:vm-101-disk-1,backup=0,size=512G
scsi1: /dev/disk/by-id/ata-KINGSTON_SV300S37A240G_50026B724B07F933,backup=0,discard=on
scsi2: /dev/disk/by-id/ata-KINGSTON_SV300S37A240G_50026B7251178840,backup=0,discard=on
scsi3: /dev/disk/by-id/ata-KINGSTON_SV300S37A240G_50026B784B006762,backup=0,discard=on
scsihw: virtio-scsi-pci
smbios1: uuid=82b57442-232c-4dda-9d46-88ef62bd0e9e
sockets: 1
startup: order=1,up=60,down=60
 
Last edited: