table of contents
| KRUNVM-CHANGEVM(1) | KRUNVM-CHANGEVM(1) |
NAME¶
krunvm-changevm - Change the configuration of a microVM
SYNOPSIS¶
krunvm changevm [OPTIONS] microVM
DESCRIPTION¶
krunvm changevm changes the configuration of an existing microVM.
When run without any OPTIONS, it displays the current configuration of the microVM.
OPTIONS¶
--remove-ports
--remote-volumes
--cpus NUM
--mem NUM
The memory configured for the microVM will not be reserved immediately. Instead, it will be provided as the guest demands it, and both the guest and libkrun (acting as the Virtual Machine Monitor) will attempt to return as many pages as possible to the host.
--name NAME
-p, --port HOST_PORT:GUEST_PORT
This option can be specified multiple times to expose as many guest ports as desired.
-v, --volume HOST_PATH:GUEST_PATH
This option can be specified multiple times to make more paths in the host visible in the guest.
-w, --workdir GUEST_PATH
An empty string ("") tells krunvm to not set a working directory explicitly, letting libkrun decide which one should be set.
SEE ALSO¶
| 2026-03-10 |