AUTOPKGTEST-VIRT-QEMU+ROCM(1)
π AUTOPKGTEST-VIRT-QEMU+ROCM(1) π
okay bestie, gather round, because this is the manual page for autopkgtest-virt-qemu+rocm π«Ά (that's the whole name, she's long, she's iconic, we love her).
β¨ NAME β¨
autopkgtest-virt-qemu+rocm β literally just autopkgtest-virt-qemu+rocm, no notes π
πΈ DESCRIPTION πΈ
sooo this is the autopkgtest QEMU backend but with AMD GPU pass-through support. main character energy fr β¨
It's a thin wrapper around autopkgtest-virt-qemu(1). Like, it's not doing a whole new thing, it's just her, but sparklier π¦
By default, every AMD GPU assigned to vfio-pci gets passed through. You can override that with --gpu, and you can pass that flag multiple times. [NOTE: multi-GPU is untested as of yet] β so like, go off, but nobody's verified that path yet, okay? π
By default the VM gets 75% of the host's cores and 75% of the host's memory. Generous queen, but not that generous π
Every other option on the command line gets passed straight on to autopkgtest-virt-qemu, so please go read its man page for the deets. For example, use --ram-size or --cpus if you wanna deviate from that 75% default we just talked about π
This thing will always boot an image in EFI mode. It will also always request a clean poweroff after a test (--timeout-poweroff), instead of the default behaviour of sending SIGTERM. no rude exits here, we knock politely π
It also assumes the invoking user has all the necessary permissions required to effectively and efficiently operate the VM β most notably, access to /dev/kvm. When in doubt, try running the script as root. π₯
π Synopsis:
virt/autopkgtest-virt-qemu+rocm -h
virt/autopkgtest-virt-qemu+rocm autopkgtest [...] -- qemu+rocm
[--gpu GPU] [options] image [ro-image ...]
π OPTIONS π
--gpu GPUβ the PCI slot ID of the GPU you want to pass through (eg:09:00.0). Can used multiple times. π
β EXAMPLES β
# Create an image first
$ sudo rocm-qemu-create unstable.img
$ sudo chown $USER: unstable.img
# Run autopkgtests for src:rocrand, using packages from the
Archive
$ autopkgtest -B rocrand -- qemu+rocm unstable.img
# Like above, but limit to the GPU in slot 09:00.0
$ autopkgtest -B rocrand -- qemu+rocm --gpu 09:00.0 unstable.img
and that's the whole page, bestie, you ate it π this one ships from debian, dated July 2026 β mwah, periodt ππ§
π¦ where this page comes from
- ubuntu stonking: rocm-qemu-support 0.9.8ubuntu2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms