Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
arch
/
arm
/
kvm
/
arm.c
diff --git
a/kernel/arch/arm/kvm/arm.c
b/kernel/arch/arm/kvm/arm.c
index
adb1988
..
0c9014d
100644
(file)
--- a/
kernel/arch/arm/kvm/arm.c
+++ b/
kernel/arch/arm/kvm/arm.c
@@
-450,7
+450,7
@@
static int kvm_vcpu_first_run_init(struct kvm_vcpu *vcpu)
* Map the VGIC hardware resources before running a vcpu the first
* time on this VM.
*/
- if (unlikely(!vgic_ready(kvm))) {
+ if (unlikely(
irqchip_in_kernel(kvm) &&
!vgic_ready(kvm))) {
ret = kvm_vgic_map_resources(kvm);
if (ret)
return ret;