From: Christoffer Dall Date: Thu, 6 Nov 2014 11:47:39 +0000 (+0000) Subject: arm/arm64: KVM: vgic: Fix error code in kvm_vgic_create() X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~68^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b50f54064a02b77a7b990032b80234fee59bcd6;p=pandora-kernel.git arm/arm64: KVM: vgic: Fix error code in kvm_vgic_create() If we detect another vCPU is running we just exit and return 0 as if we succesfully created the VGIC, but the VGIC wouldn't actual be created. This shouldn't break in-kernel behavior because the kernel will not observe the failed the attempt to create the VGIC, but userspace could be rightfully confused. Cc: Andre Przywara Signed-off-by: Christoffer Dall Signed-off-by: Marc Zyngier Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed