STRUCT VMBALLOON_BATCH_ENTRY(9)
π struct vmballoon_batch_entry(9) π
okay so bestie, welcome to the Kernel API Manual β no cap, this is the whole vibe. Today's main character is struct vmballoon_batch_entry, and it's literally just one batch entry for lock or unlock. That's it. That's the whole personality. π
β¨ NAME β¨
struct vmballoon_batch_entry β a batch entry for lock or unlock. slay, we love a one-job icon. π
π¦ SYNOPSIS π¦
struct vmballoon_batch_entry {
u64 status : 5;
u64 reserved : PAGE_SHIFT - 5;
u64 pfn : 52;
};
likeβ¦ look at her. three bitfields, zero drama. the layout is the layout, periodt. π
πΈ Members πΈ
statusβ the status of the operation, which is written by the hypervisor. not you. the hypervisor. the hypervisor is the one holding that pen, so don't go getting main character energy about it. π«Άreservedβ this bitfield is in the struct taking upPAGE_SHIFT - 5bits, and the Members list doesn't say anything more about it. it's just there, living its little reserved life. β¨ (the way that it's simply not documented. iconic honestly.)pfnβ the physical frame number of the page to be locked or unlocked. that's the actual business end of this whole struct ngl. π₯
π SEE ALSO π
Kernel file ./drivers/misc/vmw_balloon.c β that's the mothership, bestie. the whole balloon saga lives there.
and then the extended friend group, in the exact order they were introduced to me, fr fr:
enum vmballoon_cmd_type(9)vmballoon_send_guest_id(9)vmballoon_page_order(9)vmballoon_page_in_frames(9)vmballoon_mark_page_offline(9)vmballoon_mark_page_online(9)vmballoon_send_get_target(9)vmballoon_alloc_page_list(9)vmballoon_handle_one_result(9)vmballoon_status_page(9)vmballoon_lock_op(9)vmballoon_add_page(9)vmballoon_lock(9)vmballoon_release_page_list(9)vmballoon_change(9)vmballoon_enqueue_page_list(9)vmballoon_dequeue_page_list(9)vmballoon_split_refused_pages(9)vmballoon_inflate(9)vmballoon_deflate(9)vmballoon_deinit_batching(9)vmballoon_init_batching(9)vmballoon_vmci_init(9)vmballoon_pop(9)vmballoon_work(9)vmballoon_shrinker_scan(9)vmballoon_shrinker_count(9)vmballoon_debug_show(9)vmballoon_migratepage(9)
like yeah, that's a lot of friends, but every single one of them is invited to the group chat. no one gets left on read. ππ
π« aaaand that's the page! this cutie came to you courtesy of ./drivers/misc, dated October 2026, filed under struct vmbal..._batch_entry(9) because even manpage titles gotta abbreviate sometimes. go forth and batch your entries, bestie. πβπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms