Skip to main content
vee
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

vee gpu

Manage GPU VFIO passthrough bindings and run preflight checks.

vee gpu <subcommand>

Subcommands

vee gpu list

List all PCI GPUs on the host with their IOMMU group, current driver, and power state.

vee gpu list

vee gpu bind

Bind a GPU (and optionally its audio peer) to vfio-pci.

sudo vee gpu bind 08:00.0

All devices in the same IOMMU group must be bound together or QEMU cannot take ownership of the group. vee gpu bind warns if there are unbound peers.

vee gpu unbind

Unbind a device from vfio-pci and restore the original driver.

sudo vee gpu unbind 08:00.0

vee gpu status

Run a full preflight check for a GPU before starting a passthrough VM.

vee gpu status 08:00.0 --memory 16G

Checks:

CheckPass condition
Drivervfio-pci
IOMMU group device/dev/vfio/<group> exists
Group isolationAll peer devices also bound to vfio-pci
Locked memorymemlock ≥ requested --memory
Power stateNot D3cold (or recoverable)