vmbus_prep_negotiate_resp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmbus_prep_negotiate_resp(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” yes this is a section 9 page, yes it's a kernel function, and yes we're gonna make it cute. this one's called vmbus_prep_negotiate_resp and it lives in the driver/hypervisor girlie corner of the kernel 🧚✨


🌸 NAME 🌸

vmbus_prep_negotiate_resp β€” creates the default response for a Negotiate message 🫢

like, it literally builds the reply for you. main character behavior tbh πŸ‘‘


✨ SYNOPSIS ✨

bool vmbus_prep_negotiate_resp (struct icmsg_hdr *icmsghdrp , u8 *buf ,
u32 buflen , const int *fw_version , int fw_vercnt , const int
*srv_version , int srv_vercnt , int *nego_fw_version , int
*nego_srv_version );

it returns a bool, and it takes a lot of arguments. she's high maintenance but she delivers πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

one bullet per bestie, no skipping, we do not leave anyone out:

  • icmsghdrp β€” pointer to the msg header structure πŸ’Œ
  • buf β€” the raw buffer channel data 🌈
  • buflen β€” length of the raw buffer channel data (yes, in the original it's a full sentence; we respect it) πŸ“
  • fw_version β€” the framework versions we can support πŸ‘‘
  • fw_vercnt β€” the size of fw_version πŸ”’
  • srv_version β€” the service versions we can support ⭐
  • srv_vercnt β€” the size of srv_version πŸ”’
  • nego_fw_version β€” the selected framework version βœ…
  • nego_srv_version β€” the selected service version βœ…

πŸ’– NOTE πŸ’–

⚠️ Versions are given in decreasing order. this is not a drill, bestie β€” decreasing, so biggest energy first, periodt πŸ”₯

so what does she actually do? she sets up and fills in the default negotiate response message. that's the whole vibe. mainly used by Hyper-V drivers πŸ¦‹


πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/hv/channel_mgmt.c β€” go read it, iykwim πŸ“–

okay that's the page!! πŸŽ€ and for the cute sign-off: this iconic little doc comes from ./drivers/hv, dated October 2026, and it's the manpage for vmbus_prep_negotiate_resp(9) β€” no cap, screenshot it, it ate πŸ’…βœ¨πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from