* [PATCH kvm-next] tools headers: Sync KVM headers for KVM_CAP_GUEST_MEMFD_MMAP
@ 2025-09-29 6:35 Shivank Garg
0 siblings, 0 replies; only message in thread
From: Shivank Garg @ 2025-09-29 6:35 UTC (permalink / raw)
To: linux-kernel, kvm
Cc: namhyung, mingo, james.clark, xiaoyao.li, acme, jmattson, seanjc,
pbonzini, shivankg
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 <shivankg@amd.com>
---
tools/include/uapi/linux/kvm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/include/uapi/linux/kvm.h b/tools/include/uapi/linux/kvm.h
index f0f0d49d2544..6efa98a57ec1 100644
--- a/tools/include/uapi/linux/kvm.h
+++ b/tools/include/uapi/linux/kvm.h
@@ -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 244
struct 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;
--
2.43.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-09-29 6:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-29 6:35 [PATCH kvm-next] tools headers: Sync KVM headers for KVM_CAP_GUEST_MEMFD_MMAP Shivank Garg
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®