Skip to main content

Module resize

Module resize 

Source
Expand description

Live resource resize for running MicroVMs.

Tier 1 (vCPU count, memory size): NOT supported — libkrun sets these at boot via krun_set_vm_config and exposes no hot-resize API.

Tier 2 (cgroup-based limits): Supported on Linux guests by writing to cgroup v2 control files inside the guest via the exec channel.

Structs§

ResizeResult
Result of a resize attempt.
ResourceUpdate
A resource update request.

Functions§

validate_update
Validate a resource update request.