Managing Per-Guest Resources in Xen
summary
A prototype implements a per-domain resource pool that reserves hypervisor pages for guest-specific structures (event channels, grant tables, P2M) with configurable initial and max sizes (default off), avoiding ENOMEM from dynamic host pressure. XL config and Q-key statistics exist; event/grant allocators use the pool; DOM-heap vs heap/Vmap issues require switching to heap for guest-donated pages. Example pain: a 128 vCPU PV guest (≈7 event channels/vCPU) can exhaust defaults, while GPU sharing might need 10,000 grants. Guest interfaces, low-pool warning event and migration handling remain unfinished.
AI-written summary · about
