Patch "KVM: arm/arm64: vgic: vgic_init returns -ENODEV when no online vcpu" has been added to the 3.19-stable tree
This is a note to let you know that I've just added the patch titled
KVM: arm/arm64: vgic: vgic_init returns -ENODEV when no online vcpu
to the 3.19-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
kvm-arm-arm64-vgic-vgic_init-returns-enodev-when-no-online-vcpu.patch
and it can be found in the queue-3.19 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
66b030e48af68fd4c22d343908bc057207a0a31eMon Sep 17 00:00:00 2001
From: Eric Auger <[email protected]>
Date: Mon, 15 Dec 2014 18:43:32 +0100
Subject: KVM: arm/arm64: vgic: vgic_init returns -ENODEV when no online vcpu
From: Eric Auger <[email protected]>
commit 66b030e48af68fd4c22d343908bc057207a0a31e upstream.
To be more explicit on vgic initialization failure, -ENODEV is returned by vgic_init when no online vcpus can be found at init.
--- virt/kvm/arm/vgic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
virt/kvm/arm/vgic.c +1 -1
@@ -1812,7 +1812,7 @@ static int vgic_init(struct kvm *kvm) nr_cpus = dist->nr_cpus =atomic_read (&kvm->online_vcpus);if (!nr_cpus)/* No vcpus? Can't be good... */ -return -EINVAL ; +return -ENODEV ;/* * If nobody configured the number of interrupts, use the
Patches currently in stable-queue which might be from [email protected] are
queue-3.19/kvm-arm-arm64-vgic-vgic_init-returns-enodev-when-no-online-vcpu.patch