aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorIsaku Yamahata <[email protected]>2025-01-29 09:58:58 +0000
committerPaolo Bonzini <[email protected]>2025-03-14 18:20:54 +0000
commite0b4f31a3c65af66ad39bf686ce5602e49c905ae (patch)
tree64403239230213c1f17fe8fcf7411a75db57b4fd /rust/helpers/workqueue.c
parentKVM: x86: Allow to update cached values in kvm_user_return_msrs w/o wrmsr (diff)
downloadkernel-e0b4f31a3c65af66ad39bf686ce5602e49c905ae.tar.gz
kernel-e0b4f31a3c65af66ad39bf686ce5602e49c905ae.zip
KVM: TDX: restore user ret MSRs
Several MSRs are clobbered on TD exit that are not used by Linux while in ring 0. Ensure the cached value of the MSR is updated on vcpu_put, and the MSRs themselves before returning to ring 3. Co-developed-by: Tony Lindgren <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> Signed-off-by: Isaku Yamahata <[email protected]> Signed-off-by: Adrian Hunter <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Message-ID: <[email protected]> Reviewed-by: Xiayao Li <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions