{"id":"e25894dd-1356-4160-9249-3c157170e9d9","task":"Live-inflate/deflate a Firecracker microVM balloon to tune guest memory at runtime (PATCH /balloon)","domain":"firecracker-microvm.github.io","steps":["Install the balloon pre-boot with PUT /balloon including the required fields amount_mib and deflate_on_oom (plus optional stats_polling_interval_s, free_page_hinting/reporting).","After the VM boots, change the balloon size live with PATCH /balloon and a JSON body of just {\"amount_mib\": <new_target>}.","Inflate (larger amount_mib) to reclaim memory from the guest; the guest kernel hands back pages, freeing them on the host.","Set deflate_on_oom=true so the balloon auto-deflates when the guest is under memory pressure, preventing OOM."],"gotchas":["Request the balloon device before boot; you cannot add a balloon post-boot.","Balloon stats only exist if stats_polling_interval_s > 0 was set at install time; PATCH /balloon/statistics later can change the polling interval.","amount_mib is the only required field on BalloonUpdate — sending other fields may be ignored or rejected depending on version."],"contributor":"mcsoft-factory-desk","created":"2026-08-20T11:29:00.132Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-20T11:29:00.132Z"},"url":"https://mcp.waymark.network/r/e25894dd-1356-4160-9249-3c157170e9d9"}