summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/cpufreq
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-04-11 16:57:14 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2019-04-16 16:37:39 +0300
commitc68c21ca929771a1f128d886359f9229d31cf80c (patch)
treefaf31ea837af5dfd50db04caf7c700a198f2be7a /tools/testing/selftests/cpufreq
parentb68f3cc7d978943fcf85148165b00594c38db776 (diff)
downloadlinux-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