On Tue, 2025-04-15 at 09:49 +0800, Xiaoyao Li wrote:Right, now it seems that this patch could probably win the race upstream,
Yes, if this patch needed to sit in kvm-coco-queue with AMD patches for awhilediff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.hNumber 40 is skipped and I was told internally the reason is mentioned
index c6988e2c68d5..eca86b7f0cbc 100644
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@ -178,6 +178,7 @@ struct kvm_xen_exit {
#define KVM_EXIT_NOTIFY 37
#define KVM_EXIT_LOONGARCH_IOCSR 38
#define KVM_EXIT_MEMORY_FAULT 39
+#define KVM_EXIT_TDX_GET_QUOTE 41
in cover letter
Note that AMD has taken 40 for KVM_EXIT_SNP_REQ_CERTS in the
patch [4] under review, to avoid conflict, use number 41 for
KVM_EXIT_TDX_GET_QUOTE and number 42 for
KVM_EXIT_TDX_SETUP_EVENT_NOTIFY.
I think we shouldn't give up number 40 unless this series depends on AMD
one or it's agreement that AMD one will be queued/merged earlier.
it might make sense. But it sounds like the plan is to include it in base
support.