From: Paolo Bonzini <pbonzini@redhat.com>
To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org
Cc: Liran Alon <liran.alon@oracle.com>,
KarimAllah Ahmed <karahmed@amazon.de>,
Jim Mattson <jmattson@google.com>,
rkrcmar@redhat.com
Subject: [PATCH v6 00/10] kvm: x86: migration of nested virtualization state
Date: Sun, 29 Jul 2018 01:10:02 +0200 [thread overview]
Message-ID: <1532819412-51357-1-git-send-email-pbonzini@redhat.com> (raw)
This is the next version of the nested virtualization migration series,
now with unit tests too.
Patches 6, 7, and 9 replace the (broken) WIP patches in the kvm/queue branch,
while the other seven are new and related to the tests. In particular, patch 1
is an independent bugfix, which makes it much simpler to use KVM_GET_MSR/KVM_SET_MSR
in a simple userspace client such as the new test. Patches 2-4 are also
improvements and bugfixes to the unit test infrastructure.
Please review (especially the non-test patches of course!).
Thanks,
Paolo
Jim Mattson (1):
kvm: nVMX: Introduce KVM_CAP_NESTED_STATE
Paolo Bonzini (9):
KVM: x86: ensure all MSRs can always be KVM_GET/SET_MSR'd
kvm: selftests: create a GDT and TSS
kvm: selftests: actually use all of lib/vmx.c
kvm: selftests: ensure vcpu file is released
kvm: selftests: add basic test for state save and restore
KVM: x86: do not load vmcs12 pages while still in SMM
kvm: selftests: add test for nested state save/restore
KVM: nVMX: include shadow vmcs12 in nested state
KVM: selftests: add tests for shadow VMCS save/restore
Documentation/virtual/kvm/api.txt | 56 ++++
arch/x86/include/asm/kvm_host.h | 9
arch/x86/include/uapi/asm/kvm.h | 37 ++
arch/x86/kvm/hyperv.c | 27 +-
arch/x86/kvm/hyperv.h | 2
arch/x86/kvm/vmx.c | 255 ++++++++++++++++++-
arch/x86/kvm/x86.c | 71 +++++
include/uapi/linux/kvm.h | 4
tools/testing/selftests/kvm/Makefile | 1
tools/testing/selftests/kvm/cr4_cpuid_sync_test.c | 2
tools/testing/selftests/kvm/include/kvm_util.h | 4
tools/testing/selftests/kvm/include/vmx.h | 66 ++++-
tools/testing/selftests/kvm/include/x86.h | 8
tools/testing/selftests/kvm/lib/kvm_util.c | 102 ++++++-
tools/testing/selftests/kvm/lib/kvm_util_internal.h | 7
tools/testing/selftests/kvm/lib/vmx.c | 104 +++++---
tools/testing/selftests/kvm/lib/x86.c | 256 ++++++++++++++++----
tools/testing/selftests/kvm/state_test.c | 224 +++++++++++++++++
tools/testing/selftests/kvm/vmx_tsc_adjust_test.c | 69 +----
19 files changed, 1105 insertions(+), 199 deletions(-)
next reply other threads:[~2018-07-28 23:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-28 23:10 Paolo Bonzini [this message]
2018-07-28 23:10 ` [PATCH 01/10] KVM: x86: ensure all MSRs can always be KVM_GET/SET_MSR'd Paolo Bonzini
2018-07-28 23:10 ` [PATCH 02/10] kvm: selftests: create a GDT and TSS Paolo Bonzini
2018-07-28 23:10 ` [PATCH 03/10] kvm: selftests: actually use all of lib/vmx.c Paolo Bonzini
2018-07-28 23:10 ` [PATCH 04/10] kvm: selftests: ensure vcpu file is released Paolo Bonzini
2018-07-28 23:10 ` [PATCH 05/10] kvm: selftests: add basic test for state save and restore Paolo Bonzini
2018-07-28 23:10 ` [PATCH 06/10] KVM: x86: do not load vmcs12 pages while still in SMM Paolo Bonzini
2018-07-30 19:27 ` Jim Mattson
2018-07-31 7:40 ` Paolo Bonzini
2018-07-28 23:10 ` [PATCH 07/10] kvm: nVMX: Introduce KVM_CAP_NESTED_STATE Paolo Bonzini
2018-07-28 23:10 ` [PATCH 08/10] kvm: selftests: add test for nested state save/restore Paolo Bonzini
2018-07-28 23:10 ` [PATCH 09/10] KVM: nVMX: include shadow vmcs12 in nested state Paolo Bonzini
2018-07-30 19:11 ` Jim Mattson
2018-07-31 7:39 ` Paolo Bonzini
2018-07-28 23:10 ` [PATCH 10/10] KVM: selftests: add tests for shadow VMCS save/restore Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1532819412-51357-1-git-send-email-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=jmattson@google.com \
--cc=karahmed@amazon.de \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liran.alon@oracle.com \
--cc=rkrcmar@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®