Expand description
/balloon, /balloon/statistics, /balloon/hinting/{op} bodies.
Per 21-api-compat-matrix.md /balloon
PUT:
amount_mib—0..=mem_size_mib − 32(matches upstreamMAX_BALLOON_SIZE_MIB); the upper bound is host-RAM-dependent and validated at the controller.deflate_on_oom— bool default true (matches upstream).stats_polling_interval_s—0..=255;0disables polling.free_page_hinting,free_page_reporting— bool defaults false.
Structs§
- Balloon
Config - Validated
/balloonPUT body. - Balloon
Stats Update - Validated
/balloon/statisticsPATCH body. - Balloon
Update - Validated
/balloonPATCH body. - RawBalloon
Config - Raw
/balloonPUT body off the wire. - RawBalloon
Stats Update - Raw
/balloon/statisticsPATCH body. - RawBalloon
Update - Raw
/balloonPATCH body.
Enums§
- Balloon
Hinting Op PATCH /balloon/hinting/{op}operation kind. Each maps 1:1 to the URL path segment.
Constants§
- MAX_
STATS_ POLL_ INTERVAL - Maximum
stats_polling_interval_sper upstream. The wire field is au8so the type system enforces the cap; this constant exists to document the intent.