KVM: SVM: Use sev_es_host_save_area() helper when initializing tsc_aux
authorSean Christopherson <seanjc@google.com>
Mon, 17 Jun 2024 21:04:31 +0000 (14:04 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 28 Jun 2024 15:53:00 +0000 (08:53 -0700)
commit704ec48fc2fbd4e41ec982662ad5bf1eee33eeb2
treeb35074e28c105f3ce650bcbf12d6c90327fb1227
parent34830b3c02aec1fe6eaac7b178a05c25620a25b0
KVM: SVM: Use sev_es_host_save_area() helper when initializing tsc_aux

Use sev_es_host_save_area() instead of open coding an equivalent when
setting the MSR_TSC_AUX field during setup.

No functional change intended.

Link: https://lore.kernel.org/r/20240617210432.1642542-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/svm.c