OSDN Git Service

KVM: selftests: VMX preemption timer migration test
authorMakarand Sonare <makarandsonare@google.com>
Tue, 26 May 2020 21:51:07 +0000 (14:51 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 1 Jun 2020 08:26:10 +0000 (04:26 -0400)
commit8d7fbf01f9afc9ea1381de705013aa3ca453009f
tree63b25e1b64880e18b437834fac8d2357b8122f88
parent850448f35aaf45215276468d63c91ab1e230cf06
KVM: selftests: VMX preemption timer migration test

When a nested VM with a VMX-preemption timer is migrated, verify that the
nested VM and its parent VM observe the VMX-preemption timer exit close to
the original expiration deadline.

Signed-off-by: Makarand Sonare <makarandsonare@google.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Message-Id: <20200526215107.205814-3-makarandsonare@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c
tools/arch/x86/include/uapi/asm/kvm.h
tools/testing/selftests/kvm/.gitignore
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/include/x86_64/processor.h
tools/testing/selftests/kvm/include/x86_64/vmx.h
tools/testing/selftests/kvm/x86_64/vmx_preemption_timer_test.c [new file with mode: 0644]