diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-04-20 04:13:03 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-04-21 12:20:02 -0400 |
commit | bf1e15a82e3b74ee86bb119d6038b41e1ed2b319 (patch) | |
tree | 661426657cb6516f02cbbf01f3e8eccffa17ec4f /samples | |
parent | 016ff1a442d9a8f36dcb3beca0bcdfc35e281e18 (diff) |
KVM: selftests: Always run vCPU thread with blocked SIG_IPI
The main thread could start to send SIG_IPI at any time, even before signal
blocked on vcpu thread. Therefore, start the vcpu thread with the signal
blocked.
Without this patch, on very busy cores the dirty_log_test could fail directly
on receiving a SIGUSR1 without a handler (when vcpu runs far slower than main).
Reported-by: Peter Xu <peterx@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions