KRUNVM-CHANGEVM(1)

πŸ“¦
version 0.1.6 Β· 2 versions
, in fedora 43

πŸ’– 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 β€” makes HOST_PATH visible in the guest running in the microVM through GUEST_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 β€” configures GUEST_PATH as the working directory for the first binary executed in the microVM. it's the "you are here" sticker of the VM πŸ“

🌈 SEE ALSO 🌈

krunvm(1), krunvm-create(1)


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