tools headers: Sync KVM headers for KVM_CAP_GUEST_MEMFD_MMAP
PATCH 1/1 tools headers: Sync KVM headers for KVM_CAP_GUEST_MEMFD_MMAP
To pick up the changes in this cset:
commit 82d26cc8e90b ("KVM: Allow and advertise support for host mmap() on guest_memfd files")
This addresses these perf build warnings:tools/perf$ ./check-headers.sh
Warning: Kernel ABI header differences:
diff -u tools/include/uapi/linux/kvm.h include/uapi/linux/kvm.h
Please see tools/include/uapi/README for further details.
Signed-off-by Shivank Garg <[email protected]>
--- tools/include/uapi/linux/kvm.h | 2 ++ 1 file changed, 2 insertions(+)
tools/include/uapi/linux/kvm.h +2 -0
@@ -962,6 +962,7 @@ struct kvm_enable_cap {#define KVM_CAP_ARM_EL2_E2H0 241#define KVM_CAP_RISCV_MP_STATE_RESET 242#define KVM_CAP_ARM_CACHEABLE_PFNMAP_SUPPORTED 243 +#define KVM_CAP_GUEST_MEMFD_MMAP 244struct kvm_irq_routing_irqchip {__u32 irqchip;
@@ -1598,6 +1599,7 @@ struct kvm_memory_attributes {#define KVM_MEMORY_ATTRIBUTE_PRIVATE (1ULL << 3)#define KVM_CREATE_GUEST_MEMFD _IOWR(KVMIO, 0xd4, struct kvm_create_guest_memfd) +#define GUEST_MEMFD_FLAG_MMAP (1ULL << 0)struct kvm_create_guest_memfd {__u64 size;
Signature · 1 line
2.43.0