Hi,
I'm running a pve 7.1-7 and have a vm which is openmediavault. I want to passthrough a nvme ssd by passing pcie. The ssd can be loaded normally if I do not passthrough it. But if I passthrough it, it can not be loaded by the vm. It can be seen in lspci but not in lsblk. Thank you for your help!
Relevant dmesg outputs:
lspci outputs:
lsblk outputs:
config of this vm:
I'm running a pve 7.1-7 and have a vm which is openmediavault. I want to passthrough a nvme ssd by passing pcie. The ssd can be loaded normally if I do not passthrough it. But if I passthrough it, it can not be loaded by the vm. It can be seen in lspci but not in lsblk. Thank you for your help!
Relevant dmesg outputs:
Code:
[ 1.359173] nvme nvme0: pci function 0000:02:00.0
[ 1.360282] nvme nvme0: Removing after probe failure status: -19
lspci outputs:
Code:
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller
00:01.0 VGA compatible controller: Device 1234:1111 (rev 02)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:1c.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:1c.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:1c.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
02:00.0 Non-Volatile memory controller: Sandisk Corp Device 5019 (rev 01)
05:01.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
05:02.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
05:03.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
05:04.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
06:03.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon
06:05.0 SCSI storage controller: Red Hat, Inc Virtio SCSI
06:10.0 SATA controller: Intel Corporation Device 43d2 (rev 11)
06:12.0 Ethernet controller: Red Hat, Inc Virtio network device
lsblk outputs:
Code:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 20G 0 disk
|-sda1 8:1 0 19G 0 part /
|-sda2 8:2 0 1K 0 part
`-sda5 8:5 0 975M 0 part [SWAP]
sdb 8:16 0 12.8T 0 disk
sdc 8:32 0 12.8T 0 disk
`-sdc1 8:33 0 12.8T 0 part /srv/dev-disk-by-uuid-8cad06e3-ef8a-4024-b64d-be25b6e954f2
sr0 11:0 1 1024M 0 rom
config of this vm:
Code:
balloon: 2048
boot: order=scsi0;ide2;net0
cores: 8
hostpci0: 0000:00:17.0
hostpci1: 0000:01:00,pcie=1
ide2: none,media=cdrom
machine: q35
memory: 16384
meta: creation-qemu=6.1.0,ctime=1639840229
name: corgi
net0: virtio=82:02:72:13:E8:C2,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-100-disk-0,size=20G,ssd=1
scsihw: virtio-scsi-pci
smbios1: uuid=d7fa6413-9924-453e-d530-585b3ba1f3ad
sockets: 1
vmgenid: 07b60fc3-6cb9-4a12-88a5-e221bb7b4d53