From: David Hildenbrand Date: Fri, 7 Apr 2017 08:50:31 +0000 (+0200) Subject: KVM: x86: remove all-vcpu request from kvm_ioapic_init() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d62f270b2d5015d30d7f58f8429a5a26993b22a8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git KVM: x86: remove all-vcpu request from kvm_ioapic_init() kvm_ioapic_init() is guaranteed to be called without any created VCPUs, so doing an all-vcpu request results in a NOP. Signed-off-by: David Hildenbrand Signed-off-by: Radim Krčmář --- diff --git a/arch/x86/kvm/ioapic.c b/arch/x86/kvm/ioapic.c index 6e1d8cbe2fd9..3072cdf15bfb 100644 --- a/arch/x86/kvm/ioapic.c +++ b/arch/x86/kvm/ioapic.c @@ -622,10 +622,8 @@ int kvm_ioapic_init(struct kvm *kvm) if (ret < 0) { kvm->arch.vioapic = NULL; kfree(ioapic); - return ret; } - kvm_vcpu_request_scan_ioapic(kvm); return ret; }