vbg_set_host_capabilities(9)
β¨ vbg_set_host_capabilities(9) β¨
okay so bestie, this is a page straight out of the Kernel API Manual (yes, the kernel has a manual, she's iconic like that) and it's all about vbg_set_host_capabilities β literally just setting guest capabilities on the host. that's the whole vibe. π
πΈ NAME πΈ
vbg_set_host_capabilities β set guest capabilities on the host. no cap, that's it, that's the gig π«Ά
π¦ SYNOPSIS π¦
int vbg_set_host_capabilities (struct vbg_dev *gdev , struct vbg_session
*session , bool session_termination );
like, copy it exactly please, the spacing is giving whatever it's giving π
π ARGUMENTS π
gdevβ the Guest extension device. she's the main character here πsessionβ the session. that's her. that's the one πΈsession_terminationβ set this if we're being called by the session cleanup code. like, are we doing the goodbye shift or not? π
π₯ DESCRIPTION π₯
Must be called with gdev->session_mutex hold.
bestie. i need you to hear me. gdev->session_mutex must be held. this is not a suggestion, this is not a vibe, this is a requirement. do not come in here without it fr fr π
β RETURN β
0 or a negative errno value. that's the whole range β zero for "slay", negative for "oop" β¨
π SEE ALSO π
Kernel file ./drivers/virt/vboxguest/vboxguest_core.c β the source, the lore, the origin story π§
and the whole friend group, all of them, no one left out:
vbg_guest_mappings_init(9)vbg_guest_mappings_exit(9)vbg_report_guest_info(9)vbg_report_driver_status(9)vbg_balloon_inflate(9)vbg_balloon_deflate(9)vbg_heartbeat_host_config(9)vbg_heartbeat_init(9)vbg_heartbeat_exit(9)vbg_track_bit_usage(9)vbg_reset_host_event_filter(9)vbg_set_session_event_filter(9)vbg_reset_host_capabilities(9)vbg_acquire_session_capabilities(9)vbg_set_session_capabilities(9)vbg_query_host_version(9)vbg_core_init(9)vbg_core_exit(9)vbg_core_open_session(9)vbg_core_close_session(9)vbg_req_allowed(9)vbg_core_ioctl(9)vbg_core_set_mouse_status(9)
like, read them all, they're all connected, iykyk π¦
π that's the page bestie π this little cutie lives at ./drivers/virt/vboxguest, dated October 2026, and she answers to the name vbg_set_host_capabilities(9). go forth and hold that mutex. mwah π«Άπ
π¦ 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