diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-03-02 14:40:39 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-03-15 04:43:09 -0400 |
commit | 63129754178c5514f04bf6bdb891e33dfe58e58d (patch) | |
tree | c063eea9f4bdd2d9516ce2295a4ff899a1ef4469 /arch/x86/kvm/x86.c | |
parent | 2a32a77cefa662773197b362db8e4190027c89fa (diff) | |
download | lwn-63129754178c5514f04bf6bdb891e33dfe58e58d.tar.gz lwn-63129754178c5514f04bf6bdb891e33dfe58e58d.zip |
KVM: SVM: Pass struct kvm_vcpu to exit handlers (and many, many other places)
Refactor the svm_exit_handlers API to pass @vcpu instead of @svm to
allow directly invoking common x86 exit handlers (in a future patch).
Opportunistically convert an absurd number of instances of 'svm->vcpu'
to direct uses of 'vcpu' to avoid pointless casting.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210205005750.3841462-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions