[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180726112647.6272-1-pbonzini@redhat.com>
Date: Thu, 26 Jul 2018 13:26:44 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: linux-kernel@...r.kernel.org, kvm@...r.kernel.org
Cc: KarimAllah Ahmed <karahmed@...zon.de>,
Jim Mattson <jmattson@...gle.com>
Subject: [PATCH 0/3] kvm: selftests: initial version of state save/restore test
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
Powered by blists - more mailing lists