]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
update Linux headers to KVM tree master
authorXiaoyao Li <xiaoyao.li@intel.com>
Thu, 3 Jul 2025 02:40:18 +0000 (10:40 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 12 Jul 2025 13:28:20 +0000 (15:28 +0200)
To fetch the update of TDX

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://lore.kernel.org/r/20250703024021.3559286-3-xiaoyao.li@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
linux-headers/asm-x86/kvm.h
linux-headers/linux/kvm.h

index cd275ae76d25f96ae6317bcb67a92e375cfdc8ea..f0c1a730d9c3500e6ba30444de81a6ffcccc9ee3 100644 (file)
@@ -963,7 +963,13 @@ struct kvm_tdx_cmd {
 struct kvm_tdx_capabilities {
        __u64 supported_attrs;
        __u64 supported_xfam;
-       __u64 reserved[254];
+
+       __u64 kernel_tdvmcallinfo_1_r11;
+       __u64 user_tdvmcallinfo_1_r11;
+       __u64 kernel_tdvmcallinfo_1_r12;
+       __u64 user_tdvmcallinfo_1_r12;
+
+       __u64 reserved[250];
 
        /* Configurable CPUID bits for userspace */
        struct kvm_cpuid2 cpuid;
index 0690743944bd55b6ecde3adc6c18fc7b99301f2a..32c5885a3c20031f07a93dcaf650d3b26a4df4d0 100644 (file)
@@ -459,6 +459,10 @@ struct kvm_run {
                                        __u64 leaf;
                                        __u64 r11, r12, r13, r14;
                                } get_tdvmcall_info;
+                               struct {
+                                       __u64 ret;
+                                       __u64 vector;
+                               } setup_event_notify;
                        };
                } tdx;
                /* Fix the size of the union. */