diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-12-05 16:17:17 -0800 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-01-08 11:52:21 -0800 |
| commit | 2239d137a71d77c7610434473b0c8cfde90d4116 (patch) | |
| tree | 678f997656e4d32a324e313c70316644f46bd20a /include/uapi/linux/kernelcapi.h | |
| parent | 0c4ff0866fc1b0bf8c1d8d5f27fedc6dd9c51183 (diff) | |
KVM: VMX: Compartmentalize adding MSRs to host vs. guest auto-load list
Undo the bundling of the "host" and "guest" MSR auto-load list logic so
that the code can be deduplicated by factoring out the logic to a separate
helper. Now that "list full" situations are treated as fatal to the VM,
there is no need to pre-check both lists.
For all intents and purposes, this reverts the add_atomic_switch_msr()
changes made by commit 3190709335dd ("x86/KVM/VMX: Separate the VMX
AUTOLOAD guest/host number accounting").
Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Tested-by: Manali Shukla <manali.shukla@amd.com>
Link: https://patch.msgid.link/20251206001720.468579-42-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/uapi/linux/kernelcapi.h')
0 files changed, 0 insertions, 0 deletions
