summaryrefslogtreecommitdiffstats
path: root/drivers/uio
diff options
context:
space:
mode:
authorChristoffer Dall <christoffer.dall@linaro.org>2014-11-06 11:47:39 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2014-11-26 14:40:44 +0100
commit6b50f54064a02b77a7b990032b80234fee59bcd6 (patch)
tree8fd347d96d760a81c9e866b999a534ac89627a0d /drivers/uio
parentdb7dedd0de714a59d8fa2a1be3b6b00543ad415a (diff)
downloadlinux-6b50f54064a02b77a7b990032b80234fee59bcd6.tar.gz
linux-6b50f54064a02b77a7b990032b80234fee59bcd6.tar.bz2
linux-6b50f54064a02b77a7b990032b80234fee59bcd6.zip
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 <andre.przywara@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions