KVM: arm/arm64: vgic: vgic_init returns -ENODEV when no online vcpu
authorEric Auger <eric.auger@linaro.org>
Mon, 15 Dec 2014 17:43:32 +0000 (18:43 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Sun, 11 Jan 2015 13:12:15 +0000 (14:12 +0100)
commit66b030e48af68fd4c22d343908bc057207a0a31e
tree7bba27841804e456c6ef97bf744c7c73d982e596
parentbab5bb398273bb37547a185f7b344b37c700d0b9
KVM: arm/arm64: vgic: vgic_init returns -ENODEV when no online vcpu

To be more explicit on vgic initialization failure, -ENODEV is
returned by vgic_init when no online vcpus can be found at init.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic.c