linux/tools/testing/selftests/kvm
Paolo Bonzini 1f05833193 Merge branch 'kvm-sev-move-context' into kvm-master
Add support for AMD SEV and SEV-ES intra-host migration support.  Intra
host migration provides a low-cost mechanism for userspace VMM upgrades.

In the common case for intra host migration, we can rely on the normal
ioctls for passing data from one VMM to the next. SEV, SEV-ES, and other
confidential compute environments make most of this information opaque, and
render KVM ioctls such as "KVM_GET_REGS" irrelevant.  As a result, we need
the ability to pass this opaque metadata from one VMM to the next. The
easiest way to do this is to leave this data in the kernel, and transfer
ownership of the metadata from one KVM VM (or vCPU) to the next.  In-kernel
hand off makes it possible to move any data that would be
unsafe/impossible for the kernel to hand directly to userspace, and
cannot be reproduced using data that can be handed to userspace.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-11-11 11:02:58 -05:00
..
aarch64 Merge branch kvm-arm64/selftest/timer into kvmarm-master/next 2021-10-17 11:19:42 +01:00
include selftest: KVM: Add open sev dev helper 2021-11-11 10:35:27 -05:00
lib selftest: KVM: Add open sev dev helper 2021-11-11 10:35:27 -05:00
s390x KVM: selftests: sync_regs test for diag318 2020-12-10 13:36:05 +01:00
x86_64 Merge branch 'kvm-sev-move-context' into kvm-master 2021-11-11 11:02:58 -05:00
.gitignore KVM/arm64 updates for Linux 5.16 2021-10-31 02:28:48 -04:00
access_tracking_perf_test.c KVM: selftests: Refactor help message for -s backing_src 2021-09-22 10:33:14 -04:00
config selftests: kvm: Adding config fragments 2019-08-09 16:52:38 +02:00
demand_paging_test.c KVM: selftests: Refactor help message for -s backing_src 2021-09-22 10:33:14 -04:00
dirty_log_perf_test.c KVM: selftests: Create a separate dirty bitmap per slot 2021-09-22 10:33:14 -04:00
dirty_log_test.c tools: rename bitmap_alloc() to bitmap_zalloc() 2021-09-08 11:50:27 -07:00
hardware_disable_test.c KVM: selftests: Unconditionally use memslot 0 when loading elf binary 2021-06-24 04:31:17 -04:00
kvm_binary_stats_test.c KVM: selftests: Add checks for histogram stats bucket_size field 2021-08-20 16:06:32 -04:00
kvm_create_max_vcpus.c kvm: rename KVM_MAX_VCPU_ID to KVM_MAX_VCPU_IDS 2021-09-30 04:27:05 -04:00
kvm_page_table_test.c KVM: selftests: Refactor help message for -s backing_src 2021-09-22 10:33:14 -04:00
Makefile selftest: KVM: Add intra host migration tests 2021-11-11 10:36:17 -05:00
memslot_modification_stress_test.c KVM: selftests: Move vcpu_args_set into perf_test_util 2021-08-06 10:01:40 -04:00
memslot_perf_test.c KVM: selftests: Make memslot_perf_test arch independent 2021-10-21 11:36:34 +01:00
rseq_test.c KVM: selftests: Ensure all migrations are performed when test is affined 2021-09-30 04:25:57 -04:00
set_memory_region_test.c Merge tag 'kvm-s390-master-5.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD 2021-07-14 12:14:27 -04:00
settings selftests: kvm: Raise the default timeout to 120 seconds 2021-02-09 08:17:08 -05:00
steal_time.c x86: 2021-09-27 13:58:23 -07:00
system_counter_offset_test.c selftests: KVM: Introduce system counter offset test 2021-10-18 14:43:46 -04:00