diff options
author | David Hildenbrand <david@redhat.com> | 2017-04-07 10:50:31 +0200 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-04-12 20:17:14 +0200 |
commit | d62f270b2d5015d30d7f58f8429a5a26993b22a8 (patch) | |
tree | 27083423e0cf02e324b60c3266fab973559238fe /arch/x86 | |
parent | 445ee82d7a9752a2ab3b678fc348c91a54c1782e (diff) | |
download | linux-d62f270b2d5015d30d7f58f8429a5a26993b22a8.tar.bz2 |
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 <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kvm/ioapic.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; } |