lkml.org 
[lkml]   [2018]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] kvm: selftests: initial version of state save/restore test
Date
To be improved into a test for nested state save/restore

Paolo Bonzini (3):
KVM: x86: ensures all MSRs can always be KVM_GET/SET_MSR'd
kvm: selftests: ensure vcpu file is released
kvm: selftests: add basic test for state save and restore

arch/x86/kvm/hyperv.c | 27 +++-
arch/x86/kvm/hyperv.h | 2 +-
arch/x86/kvm/x86.c | 15 ++-
tools/testing/selftests/kvm/Makefile | 1 +
tools/testing/selftests/kvm/include/x86.h | 4 +
tools/testing/selftests/kvm/lib/kvm_util.c | 18 ++-
.../selftests/kvm/lib/kvm_util_internal.h | 1 +
tools/testing/selftests/kvm/lib/x86.c | 118 +++++++++++++++++
tools/testing/selftests/kvm/state_test.c | 123 ++++++++++++++++++
9 files changed, 289 insertions(+), 20 deletions(-)
create mode 100644 tools/testing/selftests/kvm/state_test.c

--
2.17.1

\
 
 \ /
  Last update: 2018-07-26 13:27    [W:0.036 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site