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>
This commit is contained in:
parent
445ee82d7a
commit
d62f270b2d
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue