On Wed, 11 Jan 2023 00:44:42 +0000, Vishal Annapurve wrote: > Confidential VMs(CVMs) need to execute hypercall instruction as per the CPU > type. Normally KVM emulates the vmcall/vmmcall instruction by patching > the guest code at runtime. Such a guest memory manipulation by KVM is > not allowed with CVMs and is also undesirable in general. > > This series adds support of executing hypercall as per the host cpu vendor. > CPU vendor is queried early during selftest setup and guest setup to be > reused later. > > [...] Applied to kvm-x86 selftests, thanks! [1/3] KVM: selftests: x86: Use "this_cpu" prefix for cpu vendor queries https://github.com/kvm-x86/linux/commit/093db78b8e6b [2/3] KVM: selftests: x86: Cache host CPU vendor (AMD vs. Intel) https://github.com/kvm-x86/linux/commit/832ffb370183 [3/3] KVM: selftests: x86: Use host's native hypercall instruction in kvm_hypercall() https://github.com/kvm-x86/linux/commit/019dfeb31650 -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes