KVM selftests changes for 6.3. The highlight is Vishal's work to stop relying on KVM to patch in VMMCALL when running on AMD. There's one small series to cleanup the Xen shinfo test that I didn't grab, but that arguably could/should go into 6.3: https://lore.kernel.org/all/20230204024151.1373296-1-seanjc@xxxxxxxxxx The following changes since commit 7cb79f433e75b05d1635aefaa851cfcd1cb7dc4f: KVM: PPC: Fix refactoring goof in kvmppc_e500mc_init() (2023-01-24 13:00:32 -0500) are available in the Git repository at: https://github.com/kvm-x86/linux.git tags/kvm-x86-selftests-6.3 for you to fetch changes up to 695fa5a64cf52ab1aa2c89c93bbb1fd08995304a: KVM: selftests: Remove duplicate macro definition (2023-02-08 06:53:14 -0800) ---------------------------------------------------------------- KVM selftests changes for 6.3: - Cache the CPU vendor (AMD vs. Intel) and use the info to emit the correct hypercall instruction instead of relying on KVM to patch in VMMCALL - A variety of one-off cleanups and fixes ---------------------------------------------------------------- Aaron Lewis (1): KVM: selftests: Fix a typo in the vcpu_msrs_set assert Gavin Shan (2): KVM: selftests: Remove duplicate VM creation in memslot_perf_test KVM: selftests: Assign guest page size in sync area early in memslot_perf_test Jing Zhang (1): KVM: selftests: Stop assuming stats are contiguous in kvm_binary_stats_test Michal Luczaj (1): KVM: selftests: Clean up misnomers in xen_shinfo_test Reiji Watanabe (1): KVM: selftests: kvm_vm_elf_load() and elfhdr_get() should close fd Shaoqin Huang (2): selftests: KVM: Replace optarg with arg in guest_modes_cmdline KVM: selftests: Remove duplicate macro definition Vishal Annapurve (3): KVM: selftests: x86: Use "this_cpu" prefix for cpu vendor queries KVM: selftests: x86: Cache host CPU vendor (AMD vs. Intel) KVM: selftests: x86: Use host's native hypercall instruction in kvm_hypercall() zhang songyi (1): KVM: x86/xen: Remove unneeded semicolon .../selftests/kvm/include/x86_64/processor.h | 30 ++++++++++++-- .../testing/selftests/kvm/kvm_binary_stats_test.c | 10 +---- tools/testing/selftests/kvm/lib/elf.c | 2 + tools/testing/selftests/kvm/lib/guest_modes.c | 2 +- tools/testing/selftests/kvm/lib/kvm_util.c | 3 -- tools/testing/selftests/kvm/lib/x86_64/processor.c | 46 ++++++++++------------ tools/testing/selftests/kvm/memslot_perf_test.c | 5 +-- .../selftests/kvm/x86_64/fix_hypercall_test.c | 4 +- .../selftests/kvm/x86_64/mmio_warning_test.c | 2 +- .../selftests/kvm/x86_64/pmu_event_filter_test.c | 4 +- .../vmx_exception_with_invalid_guest_state.c | 2 +- .../testing/selftests/kvm/x86_64/xen_shinfo_test.c | 15 +++---- 12 files changed, 63 insertions(+), 62 deletions(-)