vmw_host_get_guestinfo(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 example GuestInfo.svga.gl3. literally just name what you want, bestie 🌸
  • buffer β€” okay so if this is NULL, then *reply_len will contain the reply size. not length, 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 the reply_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 πŸ’€

  • 0 on 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:

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: buffer being NULL gives you the size in *reply_len, and length is the size of reply_buf going 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