diff options
author | Sean Christopherson <[email protected]> | 2021-09-01 13:30:29 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-09-22 10:24:02 -0400 |
commit | 61e52f1630f54713f5dffa1ab4bb49772235aa5a (patch) | |
tree | 7c77125cb2a0f63622af238ebb9fbea61ba72979 /scripts/gdb/linux/utils.py | |
parent | de5f4213dafa8f8b0b52cdaf06bb35ad4cab1681 (diff) |
KVM: selftests: Add a test for KVM_RUN+rseq to detect task migration bugs
Add a test to verify an rseq's CPU ID is updated correctly if the task is
migrated while the kernel is handling KVM_RUN. This is a regression test
for a bug introduced by commit 72c3c0fe54a3 ("x86/kvm: Use generic xfer
to guest work function"), where TIF_NOTIFY_RESUME would be cleared by KVM
without updating rseq, leading to a stale CPU ID and other badness.
Signed-off-by: Sean Christopherson <[email protected]>
Acked-by: Mathieu Desnoyers <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions