linux/tools/testing
Sean Christopherson 8a0639fe92 KVM: sefltests: Add explicit synchronization to move mem region test
Use sem_post() and sem_timedwait() to synchronize test stages between
the vCPU thread and the main thread instead of using usleep() to wait
for the vCPU thread and hoping for the best.

Opportunistically refactor the code to make it suck less in general,
and to prepare for adding more testcases.

Suggested-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200410231707.7128-6-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-04-15 12:08:43 -04:00
..
fault-injection docs: fault-injection: convert docs to ReST and rename to *.rst 2019-06-14 14:21:07 -06:00
ktest ktest: Fix typos in ktest.pl 2020-03-09 16:15:27 -04:00
kunit kunit: tool: add missing test data file content 2020-03-26 14:11:12 -06:00
nvdimm remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
radix-tree xarray: Fix early termination of xas_for_each_marked 2020-03-12 17:42:08 -04:00
scatterlist treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
selftests KVM: sefltests: Add explicit synchronization to move mem region test 2020-04-15 12:08:43 -04:00
vsock tools: testing: vsock: Test when server is bound but not listening 2020-02-16 19:01:49 -08:00