I can't pass through a PCI-e card to a VM machine (Ubuntu).

Hi Support.


Your Operating System you are using to access your NAS.:Win11 x64
NAS model:TS-253D
Firmware Version/Build numbers - not just “The latest”:QTS 5.2.6.3195
Network Setup (ie Single Port or Port Trunking):Single Port


I have the following problem and would like it resolved:

I followed the link below to change the settings so that Virtualization Station would recognize the PCI Express card (a device called PT3) connected to the TS-253D as pass-through, but it did not work.

Could someone please tell me what the cause is based on the following command and log history?

QNAP NAS’s lspci results: ( Altera Corporation Device 4c15 is PT3)

[~] # lspci 00:00.0 Host bridge: Intel Corporation Gemini Lake Host Bridge (rev 06) 00:02.0 VGA compatible controller: Intel Corporation GeminiLake [UHD Graphics 600] (rev 06) 00:0e.0 Multimedia audio controller: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 06) 00:0f.0 Communication controller: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface (rev 06) 00:12.0 SATA controller: Intel Corporation Celeron/Pentium Silver Processor SATA Controller (rev 06) 00:13.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f6) 00:14.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f6) 00:14.1 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f6) 00:15.0 USB controller: Intel Corporation Celeron/Pentium Silver Processor USB 3.0 xHCI Controller (rev 06) 00:1c.0 SD Host controller: Intel Corporation Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller (rev 06) 00:1f.0 ISA bridge: Intel Corporation Celeron/Pentium Silver Processor LPC Controller (rev 06) 00:1f.1 SMBus: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 06) 01:00.0 Multimedia controller: Altera Corporation Device 4c15 (rev 01) 02:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 03) 03:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 03)

The following has been added to /QVS/usr/bin/virsh edit (Ubuntu’s SSID) on the QNAP NAS side.

(* The brackets are replaced with other characters because they are hidden.)

[hostdev mode=‘subsystem’ type=‘pci’ managed=‘yes’] [source] [address domain=‘0x0000’ bus=‘0x01’ slot=‘0x00’ function=‘0x0’/] [/source] [address type=‘pci’ domain=‘0x0000’ bus=‘0x01’ slot=‘0x08’ function=‘0x0’/] [/hostdev]

Also, Ubuntu side’s lspci results:

test@rec:~$ lspci 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.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03) 00:02.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual graphic card (rev 05) 00:03.0 Ethernet controller: Red Hat, Inc. Virtio network device 00:04.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 01) 00:05.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03) 00:06.0 Communication controller: Red Hat, Inc. Virtio console 00:07.0 SCSI storage controller: Red Hat, Inc. Virtio block device 00:08.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon

Can someone please help me?

Best Regards,

Hi @KSAN - You may wish to open a ticket for this with QNAP at http://service.qnap.com

This is the community support forum and someone here may or may not be able to help you. The official support staff should certainly be able to help.

1 Like

I have used virsh before to test out nested esxi virtualization on my h1288x Problem is, any xml files modified, are overwritten if you edit a VM via GUI (in my case esxi compliant virtual network cards). So if your VM deviates too much from what QNAP offers natively, you might want to use alternative means ( I setup a proxmox VM server for easy testing)

1 Like

Hi, thanks for your feedback!

I’d like to clarify that we currently limit support to certified PCI Express cards, which is likely why you’re encountering this issue.

However, we are planning some changes. In a future release, we intend to open up support for all cards. If you’re interested in this feature, we can prioritize you to try it out when the Beta version is ready.

Thanks again for your input!