1KRUNVM-CHANGEVM(1)                                          KRUNVM-CHANGEVM(1)
2
3
4

NAME

6       krunvm-changevm - Change the configuration of a microVM
7

SYNOPSIS

9       krunvm changevm [OPTIONS] microVM
10

DESCRIPTION

12       krunvm changevm changes the configuration of an existing microVM.
13
14       When run without any OPTIONS, it displays the current configuration of
15       the microVM.
16

OPTIONS

18       --remove-ports
19           Removes all port mappings.
20
21       --remote-volumes
22           Removes all volume mappings.
23
24       --cpus NUM
25           Changes the number of vCPUs that will be created for this microVM.
26
27       --mem NUM
28           Changes the amount of RAM, in MiB, that will be available to this
29           microVM.
30
31           The memory configured for the microVM will not be reserved
32           immediately. Instead, it will be provided as the guest demands it,
33           and both the guest and libkrun (acting as the Virtual Machine
34           Monitor) will attempt to return as many pages as possible to the
35           host.
36
37       --name NAME
38           Assigns a new name to the microVM.
39
40       -p, --port HOST_PORT:GUEST_PORT
41           Exposes a port in the guest running in the microVM through a port
42           in the host.
43
44           This option can be specified multiple times to expose as many guest
45           ports as desired.
46
47       -v, --volume HOST_PATH:GUEST_PATH
48           Makes HOST_PATH visible in the guest running in the microVM through
49           GUEST_PATH.
50
51           This option can be specified multiple times to make more paths in
52           the host visible in the guest.
53
54       -w, --workdir GUEST_PATH
55           Configures GUEST_PATH as the working directory for the first binary
56           executed in the microVM.
57

SEE ALSO

59       krunvm(1), krunvm-create(1)
60
61
62
63                                  2022-07-18                KRUNVM-CHANGEVM(1)
Impressum