Home Home > GIT Browse > SLE15-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2019-08-13 11:38:21 +0200
committerJoerg Roedel <jroedel@suse.de>2019-08-13 13:25:28 +0200
commitea69fdbde9ccb6170b2fcfbd35f72d537c72301b (patch)
tree7665d655142bf90fe3e98c504e8fae673aa52be5
parent9d8eff1730730789737a686a96debf786e06fef5 (diff)
KVM: LAPIC: Fix pending interrupt in IRR blocked by software
disable LAPIC (bsc#1145408). suse-commit: 653821cfb9dc929423988276714836c61de06f02
-rw-r--r--arch/x86/kvm/lapic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index 02d22703824b..8f10bc59799b 100644
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
@@ -2201,7 +2201,7 @@ int kvm_apic_has_interrupt(struct kvm_vcpu *vcpu)
struct kvm_lapic *apic = vcpu->arch.apic;
u32 ppr;
- if (!apic_enabled(apic))
+ if (!kvm_apic_hw_enabled(apic))
return -1;
__apic_update_ppr(apic, &ppr);