ROCM-QEMU-CREATE(8)
π ROCM-QEMU-CREATE π
okay bestie, so this is rocm-qemu-create β a System Administration Utilities girlie, section 8 of the manual, and she is here to spin up a whole entire VM for you. no cap. let's get into it π«Ά
β¨ NAME β¨
rocm-qemu-create β literally just rocm-qemu-create. that's the whole name, she's lowkey humble like that π
πΈ DESCRIPTION πΈ
so what she does is create a QEMU VM that's suitable for running ROCm package autopkgtests. main character energy, nothing less π
one thing to know: IMAGE, if you don't specify it, defaults to RELEASE.img. periodt.
this script will build an EFI-bootable image IMAGE, with the packages firmware-amd-graphics and openssh-server preinstalled, and (optionally) other minor customizations. it's giving β¨preparedβ¨.
the image will have a regular (non-system) user 'user', who will be in all the necessary system groups. she's got the right memberships, fr fr.
and yesss β you will be able to share a host directory with the guest. it's giving teamwork π
π Synopsis:
bin/rocm-qemu-create -h
bin/rocm-qemu-create [-a AKFILE] [-m MIRROR] [-r RELEASE] [IMAGE]
π OPTIONS π
-hβ show this help. that's it, that's the option, she's helpful like that π-a AKFILEβ file to copy to/root/.ssh/authorized_keysand to/home/rocm/.ssh/authorized_keysin the guest. yes, both of them. no cap π-m MIRRORβ download packages from here. this will be also used within the image. ideally, this points to an APT cache on the host machine, such asapt-cacher-ngorapprox. mirror girlies stay winning πͺβ¨-r RELEASEβ release (default:'unstable'). okay so ifRELEASEis'experimental', APT sources for both'unstable'and'experimental'will be added to the image. and ifRELEASEcontains a dash, APT sources for the "basename" will be added, e.g.:'bookworm-backports'will include sources for'bookworm'and'bookworm-backports'. the dash is doing so much work and she's iconic for it π
π EXAMPLES π
# Configure the system for GPU pass-through
$ rocm-qemu-setup -u <user>
setting up the system for GPU pass-through first, obviously π
# Creates unstable.img based on unstable
$ sudo bin/rocm-qemu-create
creates unstable.img based on unstable. the default girlie π¦
# Same image as above, but named unstable-autopkgtest-amd64.img
$ sudo bin/rocm-qemu-create unstable-autopkgtest-amd64.img
same image as above, but named unstable-autopkgtest-amd64.img. name change only, she's still her πΈ
# Create unstable.img using the mirror at 10.1.2.3:9999, which
# ideally # is a local APT cache
$ sudo bin/rocm-qemu-create -m http://10.1.2.3:9999/debian
create unstable.img using the mirror at 10.1.2.3:9999, which ideally is a local APT cache. support your local cache, bestie π«Ά
# Creates bookworm.img
$ sudo bin/rocm-qemu-create -r bookworm
creates bookworm.img ππ
# Copies this file to {/root,/home/rocm}/.ssh/authorized_keys
$ sudo bin/rocm-qemu-create -a ~/.ssh/id_rsa.pub
copies this file to {/root,/home/rocm}/.ssh/authorized_keys. ssh keys in, vibes up β¨
ok one lil reminder bestie: every single one of these is run with sudo, k? don't forget or she won't be able to do her thing π
and that's the whole page!! π this lil number came straight from the debian crew, dated July 2026 β yeah, we're reading from the future, slay β thanks for reading all the way to the end, ily, go build a VM ππ
π¦ 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