x86_spec_ctrl_set_guest(9)
β¨ NAME β¨
okay so this is the x86_spec_ctrl_set_guest(9) page from the Kernel API Manual β and the main character function is x86_spec_ctrl_set_guest: set speculation control registers for the guest π
β¨
πΈ SYNOPSIS πΈ
void x86_spec_ctrl_set_guest (u64 guest_virt_spec_ctrl );
π ARGUMENTS π
guest_virt_spec_ctrlβ the guest controlled bits ofMSR_VIRT_SPEC_CTRL(they may get translated toMSR_AMD64_LS_CFGbits) π«Ά
π DESCRIPTION π
the whole flex here is that it avoids writing to the MSR if the content/bits are the same π no cap, thatβs literally the point.
π¦ SEE ALSO π¦
- Kernel file
./arch/x86/include/asm/spec-ctrl.hπ x86_spec_ctrl_restore_host(9)π
sign-off bestie: source/version ./arch/x86/include/asm, dated October 2026, page x86_spec_ctrl_set_guest(9) β slay and bye πβ¨
π¦ 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