| AUTOPKGTEST-VIRT-QEMU+ROCM(1) | User Commands | AUTOPKGTEST-VIRT-QEMU+ROCM(1) |
autopkgtest-virt-qemu+rocm - autopkgtest-virt-qemu+rocm
autopkgtest QEMU backend with support for AMD GPU pass-through
This is a thin wrapper around autopkgtest-virt-qemu(1).
By default, all AMD GPUs assigned to vfio-pci are passed through. This can be overridden with --gpu, which can be specified multiple times [NOTE: multi-GPU is untested as of yet]. By default, the VM will be allocated 75% of the host's cores, and 75% of the host's memory.
All other options on the command line are passed on directly to autopkgtest-virt-qemu, so the reader is referred to its man page. For example, use --ram-size or --cpus to deviate from the 75% default mentioned above.
This will always boot an image in EFI mode. It will also always request a clean poweroff after a test (--timeout-poweroff), rather than the default of sending SIGTERM.
This utility assumes that the invoking user has all the necessary permissions required in order to effectively and efficiently operate the VM, most notably that the user has access to /dev/kvm. When in doubt, try running the script as root.
| March 2025 | debian |