diff options
author | Jan H. Schönherr <jschoenh@amazon.de> | 2017-09-06 18:34:06 +0200 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-09-13 16:40:24 +0200 |
commit | 2f173d2688559a6f85643d38a2ad6f45eb420c42 (patch) | |
tree | d01b370f149fcd13d0f8d75ed226cf5b32f7ed31 /ipc/syscall.c | |
parent | KVM: x86: Fix handling of pending signal on uninitialized AP (diff) | |
download | linux-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