vmw_host_get_guestinfo(9)
π vmw_host_get_guestinfo β bestie's guide to the 9th section of the Kernel API Manual β¨
okay so real talk, we're in section 9 of the Kernel API Manual today, and the vibe is very "kernel function that knows a guy" π«Ά
πΈ NAME πΈ
vmw_host_get_guestinfo β gets a GuestInfo parameter. that's it, that's the whole name, and honestly? iconic for being that direct π
β SYNOPSIS β
int vmw_host_get_guestinfo (const char *guest_info_param , char *buffer
, size_t *length );
look at her. three args, returns an int, zero drama β¨
π ARGUMENTS π
guest_info_paramβ the parameter you're trying to get, like for exampleGuestInfo.svga.gl3. literally just name what you want, bestie πΈbufferβ okay so if this isNULL, then*reply_lenwill contain the reply size. notlength, not*lengthβ*reply_len. i know. i know. we don't make the rules, we just read them fr fr πlengthβ this is the size of thereply_buf. and on return, it gets set to the size of the reply. she does a little double duty, we love a multitasker π
π¦ DESCRIPTION π¦
so what does it do? it gets the value of a GuestInfo.* parameter. the value comes back as a string, and then β plot twist β it is up to the caller to post-process it π
no cap, that's the whole deal: you get string, you deal with string. main character energy is you, the caller, doing the post-processing yourself π₯
π RETURN π
0on success β¨
(yes that's the whole list. no notes. slay.)
π§ SEE ALSO π§
okay this is the group chat and everyone's here, hold on to your seats π
the kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_msg.c plus:
vmw_open_channel(9)vmw_close_channel(9)vmw_port_hb_out(9)vmw_port_hb_in(9)vmw_send_msg(9)vmw_recv_msg(9)vmw_host_printf(9)vmw_msg_ioctl(9)reset_ppn_array(9)hypervisor_ppn_reset_all(9)hypervisor_ppn_add(9)hypervisor_ppn_remove(9)mksstat_init_record_time(9)mksstat_init_kern_id(9)vmw_mksstat_get_kern_slot(9)vmw_mksstat_cleanup_descriptor(9)vmw_mksstat_remove_all(9)vmw_mksstat_reset_ioctl(9)vmw_mksstat_add_ioctl(9)vmw_mksstat_remove_ioctl(9)vmw_disable_backdoor(9)
that's twenty-one friends and every single one of them is linked with (9) because we stay consistent in this house π
lowkey reminder bestie:bufferbeingNULLgives you the size in*reply_len, andlengthis the size ofreply_bufgoing in and the size of the reply coming out. don't mix them up, i'm begging π«Ά
and that's the page!! it lives over in ./drivers/gpu/drm/vmwgfx, it's dated October 2026, and it's from the Kernel API Manual β so when you cite it, cite it with your whole chest πβ¨π π¦ π β
π¦ 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