Commit d62f270b authored by David Hildenbrand's avatar David Hildenbrand Committed by Radim Krčmář

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: default avatarDavid Hildenbrand <david@redhat.com>
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
parent 445ee82d
...@@ -622,10 +622,8 @@ int kvm_ioapic_init(struct kvm *kvm) ...@@ -622,10 +622,8 @@ int kvm_ioapic_init(struct kvm *kvm)
if (ret < 0) { if (ret < 0) {
kvm->arch.vioapic = NULL; kvm->arch.vioapic = NULL;
kfree(ioapic); kfree(ioapic);
return ret;
} }
kvm_vcpu_request_scan_ioapic(kvm);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment