diff options
author | Maxim Levitsky <mlevitsk@redhat.com> | 2022-03-22 18:24:43 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-02 11:41:21 +0200 |
commit | 1ee73a332f80ddb05b9becde53a644d6efc666c7 (patch) | |
tree | 6df0f1cc51e74115f9e8c7351db00e1d66adc468 /arch/x86/kvm/svm/svm.h | |
parent | KVM: x86: Support the vCPU preemption check with nopvspin and realtime hint (diff) | |
download | linux-1ee73a332f80ddb05b9becde53a644d6efc666c7.tar.xz linux-1ee73a332f80ddb05b9becde53a644d6efc666c7.zip |
KVM: x86: SVM: use vmcb01 in init_vmcb
Clarify that this function is not used to initialize any part of
the vmcb02. No functional change intended.
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/svm.h')
-rw-r--r-- | arch/x86/kvm/svm/svm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm/svm.h b/arch/x86/kvm/svm/svm.h index 468f149556dd..57bde9569902 100644 --- a/arch/x86/kvm/svm/svm.h +++ b/arch/x86/kvm/svm/svm.h @@ -580,7 +580,7 @@ extern struct kvm_x86_nested_ops svm_nested_ops; int avic_ga_log_notifier(u32 ga_tag); void avic_vm_destroy(struct kvm *kvm); int avic_vm_init(struct kvm *kvm); -void avic_init_vmcb(struct vcpu_svm *svm); +void avic_init_vmcb(struct vcpu_svm *svm, struct vmcb *vmcb); int avic_incomplete_ipi_interception(struct kvm_vcpu *vcpu); int avic_unaccelerated_access_interception(struct kvm_vcpu *vcpu); int avic_init_vcpu(struct vcpu_svm *svm); |