GPU and PCIe passthrough in Proxmox VE

Proxmox VE can hand a physical GPU, NIC or HBA directly to a VM, but the device then ties that VM to one host. This page covers the IOMMU, q35 and mapping decisions, and the migration and backup limits to plan for.

On this page

When GPU and PCIe passthrough in Proxmox VE is the right choice

Choose PCIe passthrough when a workload needs a physical GPU, NIC or HBA that a guest can drive directly, rather than a virtualized copy of it. Passthrough hands an entire PCI device to one VM through KVM, so the guest's own driver talks to the hardware and the host stops using it. Proxmox VE integrates KVM with its management layer, so passthrough is configured per VM on the host, but the device then belongs to that guest until it is removed. Virtual devices such as VirtIO network and storage controllers are shared, can move between hosts with the guest, and fit most general workloads. A passed-through device is exclusive, so the guest gives up the portability that the platform's cluster features otherwise provide.

The decision usually comes down to whether the device's performance or capability cannot be reached through a virtual device. Typical cases are a GPU for compute or graphics that needs the vendor driver in the guest, a 10 or 25 GbE NIC with a latency or throughput target that virtual networking cannot meet, or an HBA for tape or direct disk access. Before committing, confirm three things with the hardware vendor and your own test host: that the CPU and motherboard support IOMMU, that the device sits in its own IOMMU group or can be isolated, and that the guest operating system ships a driver for it. If any of these fails, a virtual device or a shared option such as SR-IOV is usually the better fit, and that trade-off should be recorded before build work starts.

Plan for the cost in portability up front. A VM holding a passed-through device cannot be live migrated with that device attached, so high availability and maintenance moves need a planned fallback, such as a spare node with the same hardware or an agreed outage window. Backups of such a VM also need a check, because the device state is not captured the way virtual disks are. Ask your team to document which workloads truly need the device, which hosts can carry it, and who approves the exception. Those answers decide whether passthrough is a sound design or a single-host dependency that will surprise your operations team later.

Passthrough options and when each fits

This table compares full PCIe passthrough, SR-IOV virtual functions and cluster resource mappings by the workload each suits and the main trade-off it carries. Read each row as a decision point: the more a device is shared or mapped, the more the host and cluster design has to account for it. The main takeaway is that full passthrough is simplest but pins a device to one VM, while mapped and shared options add HA and migration constraints you should plan before buying hardware.

OptionBest fitMain trade-off
Full PCIe passthroughOne VM needs an entire GPU, NIC or HBA at full native access, such as a single render or compute workloadThe device is dedicated to one guest, so the host and other VMs cannot use it, and live migration of that VM is not available
SR-IOV virtual functionsSeveral VMs need a slice of one network adapter or supported device with low overheadDepends on hardware and driver support, and each virtual function still ties the guest to host-side configuration that must be confirmed per model
Cluster resource mappingsHA or scheduled guests must start on any node that holds a matching deviceEvery eligible node needs an equivalent device, so hardware uniformity and mapping maintenance become part of cluster operations
Shared data-center NVIDIA GPUs (vGPU)Many VDI or compute users share one data-center NVIDIA GPU, with licensing in placeLicensing, entitlement and driver requirements are separate from passthrough; see the sibling vGPU page for details
Host-only devices kept on the hypervisorStorage controllers or NICs that the Proxmox VE host itself depends on for boot, cluster traffic or storageThe host loses that device, so it must not be passed through; confirm device roles before configuring IOMMU groups

How to set up IOMMU and PCIe passthrough on a Proxmox VE host

This sequence takes a Proxmox VE host from disabled firmware virtualization to a q35 virtual machine that sees the passed-through GPU, NIC or HBA. Each step ends with a check so the team knows whether to continue or stop and fix the layer that failed.

  1. Confirm hardware and firmware support

    The host engineer checks that the CPU, chipset and motherboard support an IOMMU (Intel VT-d or AMD-Vi) and that the target card sits in a slot that is wired to the CPU or a chipset path with clean isolation. In BIOS or UEFI, enable the virtualization extension and the IOMMU option, and confirm whether Above 4G decoding and Resizable BAR are needed for the card. Save the settings and boot into Proxmox VE. Done means the host boots and the kernel log shows IOMMU initialization, which you can check with dmesg after boot. Confirm exact firmware menu names with the server vendor's documentation.

  2. Enable IOMMU in the kernel command line

    The host engineer adds the vendor-specific IOMMU parameter to the kernel command line used by the boot loader, which is GRUB or systemd-boot depending on how the host was installed, and adds the VFIO modules to the module list so the device can be claimed at boot. Apply the change with the update tool that matches the boot loader, then reboot. Done means that after reboot the kernel reports IOMMU enabled and the VFIO modules are loaded. Exact kernel parameters and the module handling for the installed Proxmox VE version must be confirmed against the current Proxmox VE PCI passthrough documentation before editing any boot file.

  3. Identify the device and its IOMMU group

    The host engineer lists PCI devices with their vendor and device IDs and maps each device to its IOMMU group by reading the sysfs IOMMU group directory. Every device in the target group must either be passed through together or be unused by the host, because a device cannot be isolated from a group peer. Note the GPU's audio function and any other functions on the same card. Done means you have a written list of the IDs and group members, and every member is accounted for. If the group contains unrelated devices such as a chipset bridge or another NIC you need on the host, stop and resolve the layout before continuing.

  4. Bind the device to VFIO and hide it from the host

    The host engineer assigns the chosen vendor and device IDs to the VFIO driver so the Proxmox VE host does not load the normal driver for the card. Where the GPU has a companion audio function, include it in the same binding. Reboot or reload the affected drivers, then confirm the binding. Done means the device's kernel driver in use reads vfio-pci, and the host's own display or network functions remain on their normal drivers. If the host console or a needed NIC moves to VFIO by mistake, correct the ID list before the next reboot to avoid losing remote access.

  5. Create a q35 virtual machine with UEFI

    The administrator creates a new VM in the web interface or with the qm command, selects the q35 machine type, and chooses OVMF (UEFI) as the BIOS with an EFI disk on the chosen storage. Set the CPU type according to the cluster's migration design and install the guest OS from ISO. Add the guest agent option. Done means the VM boots to the installer and the configuration file shows machine type q35 and the UEFI BIOS. Confirm which machine type version and CPU options fit the installed Proxmox VE release and your migration requirements against the current documentation.

  6. Attach the PCI device to the VM

    The administrator adds the device to the VM's PCI passthrough configuration, selecting the PCIe option so the guest sees a PCI Express device, and includes the companion functions from the same group where needed. Enable the primary GPU or ROM options only if the guest requires them for its display path, and set the VM to stop rather than start if the device is missing. Start the VM. Done means the VM starts without a host error, and the host log does not report a failed device reset or BAR mapping error.

  7. Verify the device inside the guest

    Install the guest's driver for the device from the vendor, then check that the operating system lists the hardware with its vendor name and that the device reports no code errors in the device manager or the lspci output on Linux. For a GPU, run the vendor's diagnostic tool or a simple workload to confirm the device initializes. For a NIC or HBA, confirm link state or disk discovery. Done means the guest sees the expected device and it functions, which is the handoff point for performance and backup testing. Record the working configuration, including the machine type, BIOS mode and PCI settings, so the same setup can be reproduced after a host rebuild.

How IOMMU groups and the q35 machine type shape the design

The IOMMU group layout of your hardware decides which devices you can hand to a VM, and it decides this before any VM configuration is written. The IOMMU isolates device memory access, and devices that share an IOMMU group cannot be isolated from each other, so the hypervisor must assign them to the same guest together. A common surprise is a GPU that sits in the same group as a PCIe bridge, a USB controller or an onboard NIC that the host still needs. Before you buy or commit to a server layout, list the IOMMU groups on the candidate hardware and confirm with the motherboard and server vendor how slots and onboard devices are wired. Group layouts vary by board, BIOS version and CPU platform, so treat any example you find online as illustrative only.

The q35 machine type is the chipset model to use for modern passthrough. It emulates a PCI Express topology, so a passed-through PCIe device appears to the guest as it would on real PCIe hardware, which matters for GPUs and NICs that expect PCIe features. The older i440fx model presents a PCI topology and is kept mainly for compatibility with legacy guests. Choose the machine type when you create the VM, because changing it later on an installed guest can affect how the operating system sees its boot disk and devices. Confirm which q35 and firmware combinations your guest operating system and GPU driver support before you standardize on a template.

Firmware choice interacts directly with GPU initialization. OVMF, the UEFI firmware option, is generally the path for passed-through GPUs because it initializes the device in a way that fits modern operating systems, while SeaBIOS is the legacy option. A GPU with a legacy video BIOS may fail to initialize or show no output after the guest boots, so test the exact card with the firmware you plan to use. Switching firmware on an existing VM can make the boot disk unbootable, so plan the change as a rebuild or a tested clone. Record the chosen machine type and firmware as part of the VM standard, since they set what live migration and backup can do with the guest later.

Using cluster resource mappings so HA can place passed-through guests

A VM that uses a raw PCI ID is pinned to the node that owns that device, so HA has nowhere to restart it. Cluster resource mappings give identical hardware on several nodes one shared name, and the cards below cover what that requires and where placement breaks down.

Why raw PCI IDs pin a VM to one node

A passthrough line that uses a raw PCI address, such as hostpci0: 0000:81:00.0, names a device on one specific host. The VM can only start where that address exists, so if the node fails, HA has no matching device to restart the guest on. Before you build anything, list every passed-through device by node and note which VMs depend on each one.

HA wiki

Cluster-wide resource mappings

A resource mapping is a cluster-level definition that ties a logical name to a physical device on each node that hosts it. The VM configuration refers to the mapping name, and Proxmox VE resolves it to the local device when the guest starts. Use mappings only for hardware that is truly identical in model, firmware and PCI layout across the nodes you name.

Three nodes and quorum

HA needs at least three cluster nodes for reliable quorum, so the cluster can decide which side holds authority when a node goes silent. A two-node cluster cannot give that guarantee on its own. Confirm your node count before you plan which devices each node carries, because a mapping on only two nodes leaves no spare placement target.

Minimum HA nodes
3
HA requirements

Shared storage for guest disks

A recovered guest must find its disks on the node that takes it over, so guest volumes need to sit on shared storage such as Ceph or a network store. Local-only disks mean the restart target cannot read the VM at all. Passed-through devices stay on the host, so check that the guest's own data lives on shared storage and that the passthrough device is the only node-bound piece.

Watchdog fencing before recovery

Watchdog-based fencing resets a failed node before its guests are restarted elsewhere, which prevents the same passed-through device from being claimed by two hosts. Confirm that watchdog support is active on every node in the cluster and test a controlled node failure in a lab before you rely on it. Ask your hardware vendor which watchdog hardware each server exposes.

Fencing details

Heterogeneous hardware breaks placement

If one node carries a different GPU model, a different firmware revision or a different PCI slot layout, the mapping no longer points to an equivalent device, and HA may restart the guest on a node where it cannot run. Illustratively, a mapping with a GPU on two nodes and a different model on a third will fail to place the VM on that third node. Audit device IDs, firmware and slot layout across all nodes before defining the mapping, and treat any mismatch as a separate design problem.

How passthrough differs for GPU, NIC and HBA workloads

GPU passthrough serves two common cases: compute VMs that run CUDA or other accelerator workloads, and desktop VMs that give a user a graphics adapter. The device is handed to one guest at a time, so the guest owns the driver stack and the card's state. Consumer and data-center cards differ in their reset behavior and in how their vendors license use inside virtual machines, so confirm both with the vendor before buying hardware.

  • Driver and reset behavior: Some GPUs do not reset cleanly after the guest shuts down, which leaves the card unusable until the host reboots. Test a full start, stop and start cycle of the guest.
  • Firmware and boot path: Many GPUs need the q35 machine type and OVMF UEFI firmware, and the VM's BIOS settings may need to match the card's option ROM. Check the vendor's guidance for your model.
  • Live migration: A VM with a passed-through GPU generally cannot be live migrated, so plan maintenance windows and HA restarts around it.
  • Backups: Snapshots and live backups of the guest do not capture the card's state. Confirm how the backup behaves with the device attached.
  • Licensing: Compute and desktop use inside VMs may carry separate vendor license terms. Confirm these before the build.

Before go-live, test a full guest reboot, a host reboot with the guest running, and an HA restart onto a second node with a matching card.

Questions buyers ask before passing hardware through Proxmox VE

What drives the cost of PCIe passthrough work on Proxmox VE?

The main cost drivers are the number of devices, how alike the hosts are, whether guests must restart on another node after a failure, and how much testing the workloads need. Each passed-through device needs its own IOMMU group review, firmware checks, guest driver work and a restart test. Homogeneous hardware keeps the configuration repeatable, while mixed generations add per-host work. High availability adds cluster-level resource mappings and failover tests. Ask any quote to itemize hardware access, host configuration, guest driver validation, failover testing and documentation, and to state which items are one-time and which recur. Proxmox VE software itself is available without a subscription, so subscription fees are a separate line item to confirm.

How long does a single-host passthrough pilot take compared with a cluster rollout?

A single-host pilot is shorter because it validates IOMMU, the q35 machine type and one guest against one set of hardware. A cluster rollout takes longer because each node needs matching configuration, cluster resource mappings must be defined, and failover must be tested with real devices. The timing depends on the number of hosts, how many device types are involved, and how quickly firmware updates and maintenance windows can be scheduled. Ask for a timeline built from your own hardware inventory and test window, and confirm which milestones are gated by vendor firmware or driver availability rather than by configuration work.

What does our team need to provide before the work starts?

You need physical or remote access to the hosts, administrative rights to BIOS or UEFI firmware, and a test window in which hosts can be rebooted and guests can be stopped. Access to the vendor firmware and driver packages for the exact cards is also required, along with the guest operating systems and licensed software that will use the devices. Confirm whether maintenance windows allow repeated reboots, and whether a non-production cluster or spare node is available for trials. These items determine whether the work can follow the agreed scope and schedule.

Can our internal team do PCIe passthrough on Proxmox VE without a partner?

Yes, an experienced platform team can do passthrough in-house, especially for a single host and one device type. The work requires comfort with IOMMU groups, kernel parameters, VFIO bindings, machine type settings and guest driver installation, plus a plan for rollback. The harder parts are repeatable cluster configuration, failover validation and keeping firmware and driver versions aligned across hosts. A partner is most useful when the number of devices, the HA requirement or the compliance evidence needs exceed the team's available time. Compare your team's hours against the written scope of a partner before deciding.

Do we need a Proxmox VE subscription to use passthrough?

No. The software can be used without a subscription, and all subscription tiers include the same software features. Tiers differ in support entitlements and in access to the enterprise repository, which the Proxmox package repositories documentation recommends for production. The no-subscription repository is described as suited to testing and non-production use. Subscriptions are priced per CPU socket per year, with the Community, Basic, Standard and Premium tiers listed on the pricing page. Confirm the current prices and the number of sockets in each host before budgeting, and decide whether production hosts need the enterprise repository and ticketed support.

Does passthrough work with live migration and high availability?

Not in the same way as virtual disks and virtual NICs. A guest with a passed-through physical device is tied to the host that holds that device, so it cannot be live migrated like a standard guest, and a failover requires a matching device on the target node. Cluster resource mappings let HA place a guest only on nodes that offer the required device. High availability itself needs at least three cluster nodes for reliable quorum, shared storage for guests, redundant hardware, and watchdog-based fencing. Confirm the migration and backup limits for each device class with the Proxmox VE documentation before promising failover behavior to the business.

What should we check on our hardware before buying cards for passthrough?

Check that the CPU, chipset and motherboard support IOMMU, that the BIOS or UEFI exposes the feature, and that the target devices sit in IOMMU groups that can be isolated cleanly. Look at how many devices share a group, because grouping can force several devices to pass through together. Confirm the card's firmware and driver support for the guest operating system and hypervisor version you plan to run, and whether the device supports SR-IOV if you need to share it. Ask the hardware vendor for written support statements, and test a candidate host before committing to purchase quantities.

How the host, IOMMU, mapping and HA pieces fit together

The chain starts in firmware and the host kernel, where IOMMU support must be enabled before a device can be isolated for a VM. The host then passes the device to a q35 guest, and the cluster resource mapping records which nodes actually offer that device. If the node fails, HA recovery only moves the guest to a matching node after watchdog-based fencing has reset the failed host. Check each hand-off before relying on failover.

Firmware, host isolation, cluster mapping and HA recovery for a passed-through device.

How DeployOpen scopes and delivers passthrough work

DeployOpen plans, builds, tests and documents GPU and PCIe passthrough on Proxmox VE inside your own servers and data centers. Each engagement starts from a written scope that names the devices, guests, cluster behavior and evidence you need, so your team knows what changes on the hosts before any work begins.

How we scope

  • Inventory every GPU, NIC and HBA, its IOMMU group, and the guests that will receive it.
  • Record whether each guest needs live migration, HA restart, or backup, since passed-through devices limit all three.
  • Agree the q35 machine type, firmware and guest OS targets in the written scope before build starts.
  • Confirm which cluster nodes share identical hardware, so resource mappings can be defined for each device class.

How we build

  • Enable IOMMU and VFIO in the host boot configuration, then verify device grouping and driver binding on each node.
  • Configure the q35 guest machine type and PCI device attachment, then document each setting for repeatable rebuilds.
  • Define cluster resource mappings so HA and migration decisions can see which node holds each physical device.
  • Test SR-IOV virtual functions where the hardware supports them, recording the limits that apply to each function.

How we hand over

  • Deliver a written configuration record covering hosts, guests, device mappings and kernel parameters.
  • Provide test results for passthrough, reboot behavior, and the recovery steps for a failed node with a passed-through device.
  • Document the live migration and backup limits for each guest, so operators know which moves need a planned stop.
  • Walk your platform and operations staff through the runbook and the change steps for firmware or driver updates.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer, scoped separately from the build.
  • Ask for the quote to list each device, host, guest and test item, plus which items recur after handover.
  • Confirm with your hardware vendor and Proxmox VE release notes which driver and firmware versions your devices need.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.