diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-04-11 16:57:14 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-04-16 16:37:39 +0300 |
commit | c68c21ca929771a1f128d886359f9229d31cf80c (patch) | |
tree | faf31ea837af5dfd50db04caf7c700a198f2be7a /tools/testing/selftests/cpufreq | |
parent | b68f3cc7d978943fcf85148165b00594c38db776 (diff) | |
download | linux-c68c21ca929771a1f128d886359f9229d31cf80c.tar.xz |
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 0f73bbc851ed, "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>
Diffstat (limited to 'tools/testing/selftests/cpufreq')
0 files changed, 0 insertions, 0 deletions