Windows PCIE Disk Passthrough

nowjon

New Member
Jan 3, 2023
1
0
1
Hello!
I'm having some issues moving my PCIE disk to a virtual machine. This is all happening on the same machine.
I installed Proxmox on a separate disk, booted it, and setup pcie passthrough.
I've passed through my Samsung NVME SSD via PCIe Passthrough but it will not boot.

This is my current config:
rgs: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
bios: ovmf
boot: order=hostpci3
cores: 8
cpu: host,hidden=1,flags=+pcid
efidisk0: local-lvm:vm-100-disk-0,efitype=4m,size=4M
hostpci0: 0000:67:00,pcie=1
hostpci1: 0000:04:00,pcie=1
hostpci2: 0000:05:00,pcie=1
hostpci3: 0000:02:00,pcie=1
machine: pc-q35-7.1
memory: 16384
meta: creation-qemu=7.1.0,ctime=1676864341
name: Windows
net0: e1000=3E:47:28:E0:F2:59,bridge=vmbr0
numa: 0
ostype: win10
sata0: local:iso/Windows.iso,media=cdrom,size=4671872K
scsi2: local:iso/virtio-win-0.1.229.iso,media=cdrom,size=522284K
scsihw: virtio-scsi-pci
smbios1: uuid=a465a6de-f78e-43f2-8e77-ed92d7a71064
sockets: 1
vga: none
vmgenid: b8c3ab1e-5cc6-4964-8f9c-5b8aa5edb206
If I instead pass the disk through as a sata device, it will boot though?
scsi5: /dev/disk/by-id/nvme-Samsung_SSD_970_EVO_Plus_1TB_S59ANS0N710143J,size=976762584K
The performance wasn't what I was hoping for so I wanted to try to pass it through but with no luck. Windows loads but says "inaccessible boot device" and reboots.
Here's the LSPCI entry for it
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
I had decided to add it to be excluded from the OS in /etc/modprobe.d/vfio.con but this made no change
options vfio-pci ids=1002:73af,1002:ab28,144d:a808 disable_vga=1
#The first two are a gpu, ignore

I had thought this was maybe related to my Mobo's CPU slots, so I moved this NVME drive into a PCIe NVME adapter, see: https://www.amazon.com/gp/product/B07JJTVGZM/ref=ppx_yo_dt_b_asin_title_o00_s01?ie=UTF8&psc=1

Any help is appreciated!
Thanks!

Edit 1:
Also wanted to add, I can boot into this Windows install bare-metal.
 
Last edited:

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!