projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
445ee82
)
KVM: x86: remove all-vcpu request from kvm_ioapic_init()
author
David Hildenbrand
<david@redhat.com>
Fri, 7 Apr 2017 08:50:31 +0000
(10:50 +0200)
committer
Radim Krčmář
<rkrcmar@redhat.com>
Wed, 12 Apr 2017 18:17:14 +0000
(20:17 +0200)
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>
arch/x86/kvm/ioapic.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/ioapic.c
b/arch/x86/kvm/ioapic.c
index 6e1d8cbe2fd92854cf8118244315ce2cdaf0d6a4..3072cdf15bfb7c6f68990c70c3e3a3e202fbedcf 100644
(file)
--- 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;
}