diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-01-25 11:11:30 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-10 13:47:12 -0500 |
commit | 068f7ea61895ffc909a387c92a6a8aa8b70dd9dd (patch) | |
tree | 734f0769aa6c4eb1a8f6cce0c64b4804c0b9ff4d /arch/parisc | |
parent | 98242dcafe5ec185014f59feb44c70189319841f (diff) | |
download | linux-068f7ea61895ffc909a387c92a6a8aa8b70dd9dd.tar.bz2 |
KVM: SVM: improve split between svm_prepare_guest_switch and sev_es_prepare_guest_switch
KVM performs the VMSAVE to the host save area for both regular and SEV-ES
guests, so hoist it up to svm_prepare_guest_switch. And because
sev_es_prepare_guest_switch does not really need to know the details
of struct svm_cpu_data *, just pass it the pointer to the host save area
inside the HSAVE page.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions