tart/docs
G 3678f45d82 Add optional Virtio memory balloon support
Add a per-VM "memoryBalloon" setting (disabled by default) that, when
enabled via "tart set <name> --memory-balloon true", attaches a
VZVirtioTraditionalMemoryBalloonDeviceConfiguration to the VM,
allowing supported guest operating systems to participate in
best-effort memory reclaim.

A balloon target can be requested at run time via
"tart run --balloon-target-memory <MB>". The target is re-applied
periodically, since a target set before the guest's virtio-balloon
driver probes the device is lost when the guest resets the device
while booting (the same applies to guest reboots).

The balloon device is skipped for suspendable VMs (similarly to the
entropy device) to not interfere with the save/restore support.

VM.craftConfiguration() is split into a buildConfiguration() part and
a validation part, so that the device wiring can be unit-tested
without the "com.apple.security.virtualization" entitlement.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 10:51:48 +09:00
..
assets Update docs after OpenAI move (#1240) 2026-06-05 17:05:23 -07:00
blog Update docs after OpenAI move (#1240) 2026-06-05 17:05:23 -07:00
integrations Update docs after OpenAI move (#1240) 2026-06-05 17:05:23 -07:00
layouts Fancy Social Cards (#830) 2024-05-22 16:07:08 +04:00
orchard Update docs after OpenAI move (#1240) 2026-06-05 17:05:23 -07:00
stylesheets [blog] Orchard Announcement (#476) 2023-04-25 09:13:28 -04:00
theme/overrides Update docs after OpenAI move (#1240) 2026-06-05 17:05:23 -07:00
.markdownlint.yml Document automatic resources set by the Orchard Worker (#1134) 2025-09-23 00:02:39 +04:00
CNAME Documentation Website (#380) 2023-01-17 19:08:30 +00:00
faq.md Update docs after OpenAI move (#1240) 2026-06-05 17:05:23 -07:00
index.md Fancy Social Cards (#830) 2024-05-22 16:07:08 +04:00
quick-start.md Add optional Virtio memory balloon support 2026-07-03 10:51:48 +09:00
robots.txt Documentation Website (#380) 2023-01-17 19:08:30 +00:00