linux_dsm_epyc7002/tools/testing/selftests/kvm
Paolo Bonzini c68c21ca92 selftests: kvm/evmcs_test: complete I/O before migrating guest state
Starting state migration after an IO exit without first completing IO
may result in test failures.  We already have two tests that need this
(this patch in fact fixes evmcs_test, similar to what was fixed for
state_test in commit 0f73bbc851, "KVM: selftests: complete IO before
migrating guest state", 2019-03-13) and a third is coming.  So, move the
code to vcpu_save_state, and while at it do not access register state
until after I/O is complete.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-04-16 15:37:39 +02:00
..
include KVM: selftests: complete IO before migrating guest state 2019-03-28 17:29:09 +01:00
lib selftests: kvm/evmcs_test: complete I/O before migrating guest state 2019-04-16 15:37:39 +02:00
x86_64 selftests: kvm/evmcs_test: complete I/O before migrating guest state 2019-04-16 15:37:39 +02:00
.gitignore selftests: kvm: add selftest for releasing VM file descriptor while in L2 2019-02-12 13:12:12 +01:00
clear_dirty_log_test.c kvm: introduce manual dirty log reprotect 2018-12-14 12:34:19 +01:00
dirty_log_test.c kvm: selftests: aarch64: dirty_log_test: support greater than 40-bit IPAs 2018-12-21 11:28:30 +01:00
Makefile KVM: selftests: disable stack protector for all KVM tests 2019-03-28 17:29:08 +01:00