mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Liam Merwick <liam.merwick@oracle.com>
To: "Jörg Rödel" <joro@8bytes.org>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Sean Christopherson" <seanjc@google.com>
Cc: Michael Roth <michael.roth@amd.com>,
	Vishal Annapurve <vannapurve@google.com>,
	Ninad Naik <ninadnaik07@gmail.com>,
	Joerg Roedel <joerg.roedel@amd.com>,
	Tom Lendacky <thomas.lendacky@amd.com>,
	James Bottomley <James.Bottomley@HansenPartnership.com>,
	kvm@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
	coconut-svsm@lists.linux.dev, liam.merwick@oracle.com
Subject: Re: [PATCH v4 7/7] KVM: selftests: Test the SNP APIC-ID-list GHCB request
Date: Wed, 2 Dec 2026 17:57:12 +0000	[thread overview]
Message-ID: <10bdd527-10b0-47c8-be72-fdf8ec78d99d@oracle.com> (raw)
In-Reply-To: <20261201094525.1240736-8-joro@8bytes.org>


On 01/12/2026 09:45, Jörg Rödel wrote:
> From: Joerg Roedel <joerg.roedel@amd.com>
> 
> Check feature discovery through both GHCB interfaces and verify that
> legacy SNP guests cannot invoke the event. Measure the BSP VMSA and
> associate it after launch finish succeeds, as required by the SNP
> vCPU state ABI.
> 
> Create vCPUs with sparse APIC IDs and check every descriptor entry and
> the bytes beyond the descriptor. Verify that zero-page queries and
> one-page requests at the 1024-vCPU boundary report the required size
> without writing. Cover missing RAX, invalid buffers, and a request
> whose first page is writable but whose second page is unmapped.
> 
> Use GHCB protocol version 2 and a VMGEXIT memory clobber so the
> compiler preserves access to the shared request and response. Use the
> standard test-data allocator to keep GFN 0 out of the private launch
> ranges, and pass the vCPU count as u64 to match vcpu_args_set().
> 
> Sashiko flagged the variadic type mismatch. Codex assisted with the
> ABI review, test coverage and build verification. The test built with
> GCC and Clang. Runtime testing requires an SNP host with /dev/kvm.
> 
> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

Tested-by: Liam Merwick <liam.merwick@oracle.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>


> ---
>   tools/testing/selftests/kvm/Makefile.kvm      |   1 +
>   tools/testing/selftests/kvm/include/x86/sev.h |   2 +-
>   .../selftests/kvm/x86/sev_snp_apic_id_test.c  | 340 ++++++++++++++++++
>   3 files changed, 342 insertions(+), 1 deletion(-)
>   create mode 100644 tools/testing/selftests/kvm/x86/sev_snp_apic_id_test.c
> 
> diff --git a/tools/testing/selftests/kvm/Makefile.kvm b/tools/testing/selftests/kvm/Makefile.kvm
> index 2086b6e1ee25..3b8867f67b04 100644
> --- a/tools/testing/selftests/kvm/Makefile.kvm
> +++ b/tools/testing/selftests/kvm/Makefile.kvm
> @@ -154,6 +154,7 @@ TEST_GEN_PROGS_x86 += x86/xen_vmcall_test
>   TEST_GEN_PROGS_x86 += x86/sev_dbg_test
>   TEST_GEN_PROGS_x86 += x86/sev_init2_tests
>   TEST_GEN_PROGS_x86 += x86/sev_migrate_tests
> +TEST_GEN_PROGS_x86 += x86/sev_snp_apic_id_test
>   TEST_GEN_PROGS_x86 += x86/sev_snp_direct_vmsa_test
>   TEST_GEN_PROGS_x86 += x86/sev_smoke_test
>   TEST_GEN_PROGS_x86 += x86/amx_test
> diff --git a/tools/testing/selftests/kvm/include/x86/sev.h b/tools/testing/selftests/kvm/include/x86/sev.h
> index 1def4f9b246b..0c67625d7ce1 100644
> --- a/tools/testing/selftests/kvm/include/x86/sev.h
> +++ b/tools/testing/selftests/kvm/include/x86/sev.h
> @@ -183,7 +183,7 @@ void snp_vm_init(struct kvm_vm *vm);
>   
>   static inline void vmgexit(void)
>   {
> -	__asm__ __volatile__("rep; vmmcall");
> +	__asm__ __volatile__("rep; vmmcall" ::: "memory");
>   }
>   
>   static inline void sev_register_encrypted_memory(struct kvm_vm *vm,
> diff --git a/tools/testing/selftests/kvm/x86/sev_snp_apic_id_test.c b/tools/testing/selftests/kvm/x86/sev_snp_apic_id_test.c
> new file mode 100644
> index 000000000000..8f69fb1c45c7
> --- /dev/null
> +++ b/tools/testing/selftests/kvm/x86/sev_snp_apic_id_test.c
> @@ -0,0 +1,340 @@
> +// SPDX-License-Identifier: GPL-2.0-only
> +#include <stddef.h>
> +#include <stdint.h>
> +#include <stdlib.h>
> +
> +#include "kvm_util.h"
> +#include "processor.h"
> +#include "sev.h"
> +#include "svm_util.h"
> +
> +#define GHCB_SAVE_RAX_OFFSET		0x1f8
> +#define GHCB_SAVE_SW_EXIT_CODE_OFFSET	0x390
> +#define GHCB_SAVE_SW_EXIT_INFO_1_OFFSET	0x398
> +#define GHCB_SAVE_SW_EXIT_INFO_2_OFFSET	0x3a0
> +#define GHCB_SAVE_VALID_BITMAP_OFFSET	0x3f0
> +#define GHCB_PROTOCOL_VERSION_OFFSET	0xffa
> +#define GHCB_PROTOCOL_VERSION		2
> +
> +#define GHCB_MSR_REG_GPA_REQ		0x012
> +#define GHCB_MSR_REG_GPA_RESP		0x013
> +#define GHCB_MSR_HV_FT_REQ		0x080
> +#define GHCB_MSR_HV_FT_RESP		0x081
> +#define GHCB_MSR_HV_FT_POS		12
> +#define GHCB_MSR_INFO_MASK		GENMASK_ULL(11, 0)
> +#define GHCB_HV_FT_APIC_ID_LIST		BIT_ULL(4)
> +
> +#define GHCB_HV_RESP_MALFORMED_INPUT	2
> +#define GHCB_ERR_MISSING_INPUT		4
> +#define GHCB_ERR_INVALID_INPUT		5
> +#define GHCB_ERR_INVALID_EVENT		6
> +
> +#define APIC_ID_BOUNDARY		(PAGE_SIZE / sizeof(u32))
> +#define APIC_ID_STRIDE		2
> +#define BUFFER_PATTERN		0xa5
> +
> +struct apic_id_desc {
> +	u32 nr_entries;
> +	u32 apic_ids[];
> +};
> +
> +struct apic_id_response {
> +	u64 info1;
> +	u64 info2;
> +	u64 pages;
> +};
> +
> +struct apic_id_results {
> +	gpa_t private_gpa;
> +	gpa_t one_page_gpa;
> +	u64 features_msr;
> +	u64 features_nae;
> +	u64 features_nae_status;
> +	struct apic_id_response missing;
> +	struct apic_id_response zero;
> +	struct apic_id_response undersized;
> +	struct apic_id_response misaligned;
> +	struct apic_id_response out_of_range;
> +	struct apic_id_response private;
> +	struct apic_id_response unmapped;
> +	struct apic_id_response partial;
> +	struct apic_id_response valid;
> +	bool list_unchanged;
> +};
> +
> +static bool buffer_has_pattern(const void *buffer, size_t size)
> +{
> +	const u8 *bytes = buffer;
> +	size_t i;
> +
> +	for (i = 0; i < size; i++) {
> +		if (bytes[i] != BUFFER_PATTERN)
> +			return false;
> +	}
> +	return true;
> +}
> +
> +static void ghcb_init(void *ghcb)
> +{
> +	memset(ghcb, 0, PAGE_SIZE);
> +	*(u16 *)(ghcb + GHCB_PROTOCOL_VERSION_OFFSET) = GHCB_PROTOCOL_VERSION;
> +}
> +
> +static void ghcb_set_field(void *ghcb, size_t offset, u64 value, bool valid)
> +{
> +	u8 *valid_bitmap = ghcb + GHCB_SAVE_VALID_BITMAP_OFFSET;
> +
> +	*(u64 *)(ghcb + offset) = value;
> +	if (valid)
> +		valid_bitmap[(offset / sizeof(u64)) / 8] |=
> +			BIT((offset / sizeof(u64)) % 8);
> +}
> +
> +static u64 ghcb_get_field(void *ghcb, size_t offset)
> +{
> +	return *(u64 *)(ghcb + offset);
> +}
> +
> +static struct apic_id_response get_apic_ids(void *ghcb, gpa_t buffer_gpa,
> +					   u64 pages, bool rax_valid)
> +{
> +	ghcb_init(ghcb);
> +	ghcb_set_field(ghcb, GHCB_SAVE_SW_EXIT_CODE_OFFSET,
> +		       SVM_VMGEXIT_GET_APIC_IDS, true);
> +	ghcb_set_field(ghcb, GHCB_SAVE_SW_EXIT_INFO_1_OFFSET, buffer_gpa, true);
> +	ghcb_set_field(ghcb, GHCB_SAVE_SW_EXIT_INFO_2_OFFSET, 0, true);
> +	ghcb_set_field(ghcb, GHCB_SAVE_RAX_OFFSET, pages, rax_valid);
> +	vmgexit();
> +
> +	return (struct apic_id_response) {
> +		.info1 = ghcb_get_field(ghcb, GHCB_SAVE_SW_EXIT_INFO_1_OFFSET),
> +		.info2 = ghcb_get_field(ghcb, GHCB_SAVE_SW_EXIT_INFO_2_OFFSET),
> +		.pages = ghcb_get_field(ghcb, GHCB_SAVE_RAX_OFFSET),
> +	};
> +}
> +
> +static void guest_code(void *ghcb, gpa_t ghcb_gpa, void *list,
> +		       gpa_t list_gpa, struct apic_id_results *results,
> +		       u64 expected_vcpus)
> +{
> +	u64 msr;
> +
> +	wrmsr(MSR_AMD64_SEV_ES_GHCB, GHCB_MSR_HV_FT_REQ);
> +	vmgexit();
> +	msr = rdmsr(MSR_AMD64_SEV_ES_GHCB);
> +	if ((msr & GHCB_MSR_INFO_MASK) != GHCB_MSR_HV_FT_RESP)
> +		goto terminate;
> +	results->features_msr = msr >> GHCB_MSR_HV_FT_POS;
> +
> +	wrmsr(MSR_AMD64_SEV_ES_GHCB, ghcb_gpa | GHCB_MSR_REG_GPA_REQ);
> +	vmgexit();
> +	msr = rdmsr(MSR_AMD64_SEV_ES_GHCB);
> +	if (msr != (ghcb_gpa | GHCB_MSR_REG_GPA_RESP))
> +		goto terminate;
> +
> +	wrmsr(MSR_AMD64_SEV_ES_GHCB, ghcb_gpa);
> +
> +	ghcb_init(ghcb);
> +	ghcb_set_field(ghcb, GHCB_SAVE_SW_EXIT_CODE_OFFSET, SVM_VMGEXIT_HV_FEATURES, true);
> +	ghcb_set_field(ghcb, GHCB_SAVE_SW_EXIT_INFO_1_OFFSET, 0, true);
> +	ghcb_set_field(ghcb, GHCB_SAVE_SW_EXIT_INFO_2_OFFSET, 0, true);
> +	vmgexit();
> +	results->features_nae_status = ghcb_get_field(ghcb, GHCB_SAVE_SW_EXIT_INFO_1_OFFSET);
> +	results->features_nae = ghcb_get_field(ghcb, GHCB_SAVE_SW_EXIT_INFO_2_OFFSET);
> +
> +	if (!expected_vcpus) {
> +		results->valid = get_apic_ids(ghcb, list_gpa, 2, true);
> +		goto terminate;
> +	}
> +
> +	results->missing = get_apic_ids(ghcb, list_gpa, 1, false);
> +	results->zero = get_apic_ids(ghcb, list_gpa, 0, true);
> +	if (expected_vcpus == APIC_ID_BOUNDARY)
> +		results->undersized = get_apic_ids(ghcb, list_gpa, 1, true);
> +	results->misaligned = get_apic_ids(ghcb, list_gpa + 1, 2, true);
> +	results->out_of_range = get_apic_ids(ghcb, BIT_ULL(63), 2, true);
> +	results->private = get_apic_ids(ghcb, results->private_gpa, 2, true);
> +	results->unmapped = get_apic_ids(ghcb, results->one_page_gpa + PAGE_SIZE, 2, true);
> +	results->partial = get_apic_ids(ghcb, results->one_page_gpa, 2, true);
> +	results->list_unchanged = buffer_has_pattern(list, 2 * PAGE_SIZE);
> +	results->valid = get_apic_ids(ghcb, list_gpa, 2, true);
> +
> +terminate:
> +	wrmsr(MSR_AMD64_SEV_ES_GHCB, GHCB_MSR_TERM_REQ);
> +	vmgexit();
> +}
> +
> +static void launch_direct_bsp(struct kvm_vcpu *vcpu)
> +{
> +	struct kvm_vm *vm = vcpu->vm;
> +	u32 slot = vm->memslots[MEM_REGION_TEST_DATA];
> +	struct userspace_mem_region *region;
> +	struct snp_test_vmsa *vmsa;
> +	gpa_t gpa;
> +
> +	gpa = ____vm_phy_pages_alloc(vm, 1, VMSA_MIN_GPA, slot, true, false);
> +	TEST_ASSERT(gpa & (VMSA_PMD_SIZE - 1), "unsafe VMSA GPA");
> +	vmsa = aligned_alloc(PAGE_SIZE, PAGE_SIZE);
> +	TEST_ASSERT(vmsa, "Failed to allocate a VMSA source page");
> +	snp_prepare_vmsa(vcpu, vmsa, guest_code);
> +
> +	snp_vm_launch_start(vm, snp_default_policy());
> +	snp_launch_update_vmsa(vm, gpa, vmsa);
> +	region = memslot2region(vm, slot);
> +	sparsebit_clear(region->protected_phy_pages, gpa >> PAGE_SHIFT);
> +	snp_vm_launch_update(vm);
> +	snp_vm_launch_finish(vm);
> +	snp_set_vcpu_state(vcpu, gpa);
> +	free(vmsa);
> +}
> +
> +static void assert_invalid_input(const struct apic_id_response *response)
> +{
> +	TEST_ASSERT_EQ(response->info1, GHCB_HV_RESP_MALFORMED_INPUT);
> +	TEST_ASSERT_EQ(response->info2, GHCB_ERR_INVALID_INPUT);
> +}
> +
> +static void assert_apic_id_list(const struct apic_id_desc *desc,
> +				unsigned int nr_vcpus)
> +{
> +	bool seen[APIC_ID_BOUNDARY] = {};
> +	size_t size = sizeof(*desc) + nr_vcpus * sizeof(desc->apic_ids[0]);
> +	unsigned int i;
> +
> +	TEST_ASSERT_EQ(desc->nr_entries, nr_vcpus);
> +	for (i = 0; i < nr_vcpus; i++) {
> +		u32 id = desc->apic_ids[i];
> +		u32 index = id / APIC_ID_STRIDE;
> +
> +		TEST_ASSERT(id % APIC_ID_STRIDE == 0 && index < nr_vcpus,
> +			    "Unexpected APIC ID %u at entry %u", id, i);
> +		TEST_ASSERT(!seen[index], "Duplicate APIC ID %u", id);
> +		seen[index] = true;
> +	}
> +
> +	TEST_ASSERT(buffer_has_pattern((const u8 *)desc + size, 2 * PAGE_SIZE - size),
> +		    "GET_APIC_IDS wrote past the end of the descriptor");
> +}
> +
> +static void run_apic_id_test(unsigned int nr_vcpus, bool direct)
> +{
> +	const gpa_t one_page_gpa = BIT_ULL(32);
> +	struct vm_shape shape = {
> +		.mode = VM_MODE_DEFAULT,
> +		.type = KVM_X86_SNP_VM,
> +	};
> +	struct apic_id_results *results;
> +	struct kvm_vcpu *vcpu;
> +	struct kvm_vm *vm;
> +	void *list;
> +	gva_t ghcb_gva, list_gva, results_gva;
> +	gpa_t ghcb_gpa, list_gpa;
> +	unsigned int i;
> +	int ret;
> +
> +	kvm_set_files_rlimit(nr_vcpus);
> +	vm = __vm_create(shape, 1, 0);
> +	if (direct)
> +		vm_enable_cap(vm, KVM_CAP_SNP_DIRECT_VMSA, 0);
> +	vcpu = vm_vcpu_add(vm, 0, guest_code);
> +	for (i = 1; i < nr_vcpus; i++)
> +		__vm_vcpu_add(vm, i * APIC_ID_STRIDE);
> +	kvm_arch_vm_finalize_vcpus(vm);
> +
> +	ghcb_gva = vm_alloc_shared(vm, PAGE_SIZE, KVM_UTIL_MIN_VADDR,
> +				   MEM_REGION_TEST_DATA);
> +	list_gva = vm_alloc_shared(vm, 2 * PAGE_SIZE, KVM_UTIL_MIN_VADDR,
> +				   MEM_REGION_TEST_DATA);
> +	results_gva = vm_alloc_shared(vm, PAGE_SIZE, KVM_UTIL_MIN_VADDR,
> +				      MEM_REGION_TEST_DATA);
> +	ghcb_gpa = addr_gva2gpa(vm, ghcb_gva);
> +	list_gpa = addr_gva2gpa(vm, list_gva);
> +	list = addr_gva2hva(vm, list_gva);
> +	results = addr_gva2hva(vm, results_gva);
> +
> +	vcpu_args_set(vcpu, 6, ghcb_gva, ghcb_gpa, list_gva, list_gpa,
> +		      results_gva, direct ? (u64)nr_vcpus : 0);
> +	memset(list, BUFFER_PATTERN, 2 * PAGE_SIZE);
> +	memset(results, 0, PAGE_SIZE);
> +	if (direct) {
> +		/* The launch range iterator uses GFN 0 as its end sentinel. */
> +		results->private_gpa = vm_phy_pages_alloc(vm, 2, MEM_REGION_TEST_DATA);
> +		/* A writable first page followed by an unmapped page. */
> +		vm_userspace_mem_region_add(vm, VM_MEM_SRC_ANONYMOUS, one_page_gpa, 10, 1, 0);
> +		memset(addr_gpa2hva(vm, one_page_gpa), BUFFER_PATTERN, PAGE_SIZE);
> +		results->one_page_gpa = one_page_gpa;
> +		launch_direct_bsp(vcpu);
> +	} else {
> +		vm_sev_launch(vm, snp_default_policy(), NULL);
> +	}
> +
> +	ret = _vcpu_run(vcpu);
> +	if (ret && vcpu->run->exit_reason == KVM_EXIT_MEMORY_FAULT)
> +		TEST_FAIL("KVM_RUN %s/%u vCPUs: errno=%d GPA=%#llx size=%#llx flags=%#llx",
> +			  direct ? "direct" : "legacy", nr_vcpus, errno,
> +			  vcpu->run->memory_fault.gpa, vcpu->run->memory_fault.size,
> +			  vcpu->run->memory_fault.flags);
> +	TEST_ASSERT(!ret, KVM_IOCTL_ERROR(KVM_RUN, ret));
> +	TEST_ASSERT_EQ(vcpu->run->exit_reason, KVM_EXIT_SYSTEM_EVENT);
> +	TEST_ASSERT_EQ(vcpu->run->system_event.type, KVM_SYSTEM_EVENT_SEV_TERM);
> +
> +	TEST_ASSERT_EQ(results->features_nae_status, 0);
> +	TEST_ASSERT_EQ(results->features_msr, results->features_nae);
> +	TEST_ASSERT_EQ(!!(results->features_msr & GHCB_HV_FT_APIC_ID_LIST), direct);
> +	if (!direct) {
> +		TEST_ASSERT_EQ(results->valid.info1, GHCB_HV_RESP_MALFORMED_INPUT);
> +		TEST_ASSERT_EQ(results->valid.info2, GHCB_ERR_INVALID_EVENT);
> +		TEST_ASSERT(buffer_has_pattern(list, 2 * PAGE_SIZE),
> +			    "GET_APIC_IDS modified the legacy guest's buffer");
> +		kvm_vm_free(vm);
> +		return;
> +	}
> +
> +	TEST_ASSERT_EQ(results->missing.info1, GHCB_HV_RESP_MALFORMED_INPUT);
> +	TEST_ASSERT_EQ(results->missing.info2, GHCB_ERR_MISSING_INPUT);
> +	TEST_ASSERT_EQ(results->zero.info1, 0);
> +	TEST_ASSERT_EQ(results->zero.info2, 0);
> +	TEST_ASSERT_EQ(results->zero.pages,
> +		       DIV_ROUND_UP(sizeof(struct apic_id_desc) + nr_vcpus * sizeof(u32),
> +				    PAGE_SIZE));
> +	if (nr_vcpus == APIC_ID_BOUNDARY) {
> +		TEST_ASSERT_EQ(results->undersized.info1, 0);
> +		TEST_ASSERT_EQ(results->undersized.info2, 0);
> +		TEST_ASSERT_EQ(results->undersized.pages, 2);
> +	}
> +	assert_invalid_input(&results->misaligned);
> +	assert_invalid_input(&results->out_of_range);
> +	assert_invalid_input(&results->private);
> +	assert_invalid_input(&results->unmapped);
> +	assert_invalid_input(&results->partial);
> +	TEST_ASSERT(results->list_unchanged,
> +		    "GET_APIC_IDS modified an invalid or undersized buffer");
> +	TEST_ASSERT(buffer_has_pattern(addr_gpa2hva(vm, one_page_gpa), PAGE_SIZE),
> +		    "GET_APIC_IDS modified the mapped part of an invalid buffer");
> +	TEST_ASSERT_EQ(results->valid.info1, 0);
> +	TEST_ASSERT_EQ(results->valid.info2, 0);
> +	TEST_ASSERT_EQ(results->valid.pages, 2);
> +	assert_apic_id_list(list, nr_vcpus);
> +
> +	kvm_vm_free(vm);
> +}
> +
> +int main(int argc, char *argv[])
> +{
> +	unsigned int max_vcpus;
> +
> +	TEST_REQUIRE(kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SNP_VM));
> +	TEST_REQUIRE(kvm_check_cap(KVM_CAP_SNP_DIRECT_VMSA));
> +	TEST_REQUIRE(kvm_check_cap(KVM_CAP_SNP_VCPU_STATE));
> +	run_apic_id_test(2, false);
> +	run_apic_id_test(2, true);
> +
> +	/* 1024 IDs cross the one-page descriptor boundary. */
> +	max_vcpus = kvm_check_cap(KVM_CAP_MAX_VCPUS);
> +	if (max_vcpus >= APIC_ID_BOUNDARY)
> +		run_apic_id_test(APIC_ID_BOUNDARY, true);
> +	else
> +		pr_info("Skipping vCPU-count boundary test (max vCPUs: %u)\n", max_vcpus);
> +
> +	return 0;
> +}
> -- 
> 2.53.0
> 

      reply	other threads:[~2026-12-02 17:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  9:45 [PATCH v4 0/7] KVM: SVM: Support direct setting of VMSA for SEV-SNP guests Jörg Rödel
2026-12-01  9:45 ` [PATCH v4 1/7] KVM: SEV: Document SNP direct VMSA userspace ABI Jörg Rödel
2026-12-01  9:45 ` [PATCH v4 2/7] KVM: SEV: Add direct VMSA capability Jörg Rödel
2026-12-01  9:45 ` [PATCH v4 3/7] KVM: SVM: Implement GET_AP_APIC_IDS NAE event Jörg Rödel
2026-12-01  9:45 ` [PATCH v4 4/7] KVM: SEV: Allow VMSA pages in SNP launch updates Jörg Rödel
2026-12-01  9:45 ` [PATCH v4 5/7] KVM: SEV: Add SNP vCPU state get and set commands Jörg Rödel
2026-12-01  9:45 ` [PATCH v4 6/7] KVM: selftests: Test SNP vCPU state and direct VMSA launch Jörg Rödel
2026-12-02 17:55   ` Liam Merwick
2026-12-01  9:45 ` [PATCH v4 7/7] KVM: selftests: Test the SNP APIC-ID-list GHCB request Jörg Rödel
2026-12-02 17:57   ` Liam Merwick [this message]

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=10bdd527-10b0-47c8-be72-fdf8ec78d99d@oracle.com \
    --to=liam.merwick@oracle.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=coconut-svsm@lists.linux.dev \
    --cc=joerg.roedel@amd.com \
    --cc=joro@8bytes.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=michael.roth@amd.com \
    --cc=ninadnaik07@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=seanjc@google.com \
    --cc=thomas.lendacky@amd.com \
    --cc=vannapurve@google.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®