https://github.com/torvalds/linux
Revision 6b50f54064a02b77a7b990032b80234fee59bcd6 authored by Christoffer Dall on 06 November 2014, 11:47:39 UTC, committed by Paolo Bonzini on 26 November 2014, 13:40:44 UTC
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>
1 parent db7dedd
History
Tip revision: 6b50f54064a02b77a7b990032b80234fee59bcd6 authored by Christoffer Dall on 06 November 2014, 11:47:39 UTC
arm/arm64: KVM: vgic: Fix error code in kvm_vgic_create()
Tip revision: 6b50f54
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 285.4 KB
Makefile -rw-r--r-- 53.2 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top