summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/svm/svm.c
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <maciej.szmigiero@oracle.com>2020-12-02 21:35:36 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-12-03 12:38:58 -0500
commit0c55f867f0c96dff93d4e0b5973975d65afb26d8 (patch)
tree461e2ae232ae2d351759951fb59cdcc920c84b30 /arch/x86/kvm/svm/svm.c
parent9a2a0d3ca163fc645991804b8b032f7d59326bb5 (diff)
downloadlwn-0c55f867f0c96dff93d4e0b5973975d65afb26d8.tar.gz
lwn-0c55f867f0c96dff93d4e0b5973975d65afb26d8.zip
selftests: kvm/set_memory_region_test: Fix race in move region test
The current memory region move test correctly handles the situation that the second (realigning) memslot move operation would temporarily trigger MMIO until it completes, however it does not handle the case in which the first (misaligning) move operation does this, too. This results in false test assertions in case it does so. Fix this by handling temporary MMIO from the first memslot move operation in the test guest code, too. Fixes: 8a0639fe9201 ("KVM: sefltests: Add explicit synchronization to move mem region test") Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com> Message-Id: <0fdddb94bb0e31b7da129a809a308d91c10c0b5e.1606941224.git.maciej.szmigiero@oracle.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/svm.c')
0 files changed, 0 insertions, 0 deletions