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:
Родитель
445ee82d7a
Коммит
d62f270b2d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче