[RFC PATCH v2 1/3] linux-headers: Update for 6.12 and SNP certificate support

2025-01-20 Thread Melody Wang
From: Michael Roth Add defines for SNP certificate support. Signed-off-by: Michael Roth Signed-off-by: Melody Wang --- linux-headers/linux/kvm.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h index 3bcd4eabe3..10f6c908d9

[RFC PATCH v2 3/3] i386/sev: Add KVM_EXIT_SNP_REQ_CERTS support for certificate-fetching

2025-01-20 Thread Melody Wang
e(1) loop using the libvirt example with fstat and stat for the locking certificate blob code in open_certs_locked() to fix the recreation race problem suggested by Daniel P. Berrangé. And fix the json format and filename suggested by Markus Armbruster.] Signed-off-by: Michael Roth Signed

[RFC PATCH v2 2/3] accel/kvm: Add kvm_immediate_exit callback infrastructure

2025-01-20 Thread Melody Wang
From: Michael Roth Provide a generic mechanism so that users of struct kvm_run's 'immediate_exit' flag can register a callback that can be issued after returning from KVM. Signed-off-by: Michael Roth Signed-off-by: Melody Wang --- accel/kvm/

[RFC PATCH v2 0/3] SEV-SNP: Add support for SNP certificate fetching

2025-01-20 Thread Melody Wang
This patchset is also available at: https://github.com/amdese/qemu/commits/snp-certs-rfc2 and is based on top of qemu master (7433709a1477) Overview The GHCB 2.0 specification defines 2 GHCB request types to allow SNP guests to send encrypted messages/requests to firmware: SNP Guest