summaryrefslogtreecommitdiffstats
path: root/ipc/syscall.c
diff options
context:
space:
mode:
authorJan H. Schönherr <jschoenh@amazon.de>2017-09-06 18:34:06 +0200
committerRadim Krčmář <rkrcmar@redhat.com>2017-09-13 16:40:24 +0200
commit2f173d2688559a6f85643d38a2ad6f45eb420c42 (patch)
treed01b370f149fcd13d0f8d75ed226cf5b32f7ed31 /ipc/syscall.c
parentKVM: x86: Fix handling of pending signal on uninitialized AP (diff)
downloadlinux-2f173d2688559a6f85643d38a2ad6f45eb420c42.tar.xz
linux-2f173d2688559a6f85643d38a2ad6f45eb420c42.zip
KVM: x86: Fix immediate_exit handling for uninitialized AP
When user space sets kvm_run->immediate_exit, KVM is supposed to return quickly. However, when a vCPU is in KVM_MP_STATE_UNINITIALIZED, the value is not considered and the vCPU blocks. Fix that oversight. Fixes: 460df4c1fc7c008 ("KVM: race-free exit from KVM_RUN without POSIX signals") Signed-off-by: Jan H. Schönherr <jschoenh@amazon.de> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'ipc/syscall.c')
0 files changed, 0 insertions, 0 deletions