KRUNVM-CHANGEVM(1)
π KRUNVM-CHANGEVM π
ok so bestie, welcome to krunvm-changevm(1) β the glow-up station for your microVM's config β¨
β¨ NAME β¨
krunvm-changevm β change the configuration of a microVM π
πΈ SYNOPSIS πΈ
krunvm changevm [OPTIONS] microVM
π¦ DESCRIPTION π¦
So krunvm changevm is literally the makeover montage for a microVM you already have. It changes the configuration of an existing microVM. π
And here's the cute part: if you run it with no OPTIONS at all, it just shows you the microVM's current configuration. Like a little mirror moment. πͺβ¨ No changes, just vibes and information.
π OPTIONS π
--remove-portsβ nukes all the port mappings. every single one. gone. bye π«Ά--remote-volumesβ removes all the volume mappings. all of them. no survivors π--cpus NUMβ changes the number of vCPUs that will be created for this microVM. more cpus, more main character energy β‘--mem NUMβ changes the amount of RAM, in MiB, that will be available to this microVM.
okay so important tea here π΅: the memory configured for the microVM will not be reserved immediately. instead, it gets provided as the guest demands it, and both the guest and libkrun (which is acting as the Virtual Machine Monitor) will attempt to return as many pages as possible to the host. it's giving β¨generousβ¨
--name NAMEβ assigns a new name to the microVM. rebranding era, we love to see it π-p,--port HOST_PORT:GUEST_PORTβ exposes a port in the guest running in the microVM through a port in the host. π₯
you can specify this option multiple times to expose as many guest ports as desired. stack 'em, bestie π
-v,--volume HOST_PATH:GUEST_PATHβ makesHOST_PATHvisible in the guest running in the microVM throughGUEST_PATH. sharing is caring fr fr π«Ά
this option can be specified multiple times to make more paths in the host visible in the guest. go off π
-w,--workdir GUEST_PATHβ configuresGUEST_PATHas the working directory for the first binary executed in the microVM. it's the "you are here" sticker of the VM π
π SEE ALSO π
and that's the whole page, no cap π this was the KRUNVM-CHANGEVM(1) page, dated 2025-07-25 β obsessed with her, honestly. go configure something iconic, bestie π§β
π¦ where this page comes from
- fedora 43: krunvm 0.1.6-11.fc43 Β· Apache-2.0 AND MIT AND (MIT OR Apache-2.0) AND (MIT OR X11 OR Apache-2.0)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms