Expand description
/hotplug/memory PUT and PATCH bodies — virtio-mem hotplug.
Per 21-api-compat-matrix.md
/hotplug/memory the endpoint accepts
PUT (full config), GET (read-only mirror), and PATCH (size update). Field names mirror
upstream Firecracker’s MemoryHotplugConfig and MemoryHotplugSizeUpdate.
Structs§
- Hotplug
Memory Config - Validated
/hotplug/memoryPUT body. - Hotplug
Memory Update - Validated
/hotplug/memoryPATCH body. - RawHotplug
Memory Config - Raw
/hotplug/memoryPUT body. - RawHotplug
Memory Update - Raw
/hotplug/memoryPATCH body.
Constants§
- DEFAULT_
BLOCK_ SIZE_ MIB - Default block size in MiB. Block is the smallest unit the guest can hot(un)plug.
- DEFAULT_
SLOT_ SIZE_ MIB - Default slot size in MiB. Slot is the smallest unit the host can (de)attach.
- MAX_
TOTAL_ SIZE_ MIB - Upper bound on the configured
total_size_mib. The host-RAM cap is enforced at the controller (Phase 3 territory once the VMM event loop knows the running set).