diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2021-08-09 19:39:55 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-08-13 09:35:16 +0200 |
commit | 65297341d8e15b04cc9e206597a3d7c407c346f6 (patch) | |
tree | 8d29b857025a973f9b3a9f5cc5199399f8ecdf76 /arch/x86/kvm/x86.h | |
parent | KVM: x86: Kill off __ex() and __kvm_handle_fault_on_reboot() (diff) | |
download | linux-65297341d8e15b04cc9e206597a3d7c407c346f6.tar.xz linux-65297341d8e15b04cc9e206597a3d7c407c346f6.zip |
KVM: x86: Move declaration of kvm_spurious_fault() to x86.h
Move the declaration of kvm_spurious_fault() to KVM's "private" x86.h,
it should never be called by anything other than low level KVM code.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Sean Christopherson <seanjc@google.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
[sean: rebased to a series without __ex()/__kvm_handle_fault_on_reboot()]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210809173955.1710866-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.h')
-rw-r--r-- | arch/x86/kvm/x86.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.h b/arch/x86/kvm/x86.h index 44ae10312740..7d66d63dc55a 100644 --- a/arch/x86/kvm/x86.h +++ b/arch/x86/kvm/x86.h @@ -8,6 +8,8 @@ #include "kvm_cache_regs.h" #include "kvm_emulate.h" +void kvm_spurious_fault(void); + static __always_inline void kvm_guest_enter_irqoff(void) { /* |