diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-10-03 16:25:54 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-10-10 14:25:22 -0700 |
| commit | d2042d8f96ddefdeee823737f813efe3ab4b4e8d (patch) | |
| tree | 77f61f637490f96208e2211767e9bbddb98e7d4f /tools/docs/parse-headers.py | |
| parent | 034417c1439a533a315562a57bd340d963eaac6b (diff) | |
KVM: Rework KVM_CAP_GUEST_MEMFD_MMAP into KVM_CAP_GUEST_MEMFD_FLAGS
Rework the not-yet-released KVM_CAP_GUEST_MEMFD_MMAP into a more generic
KVM_CAP_GUEST_MEMFD_FLAGS capability so that adding new flags doesn't
require a new capability, and so that developers aren't tempted to bundle
multiple flags into a single capability.
Note, kvm_vm_ioctl_check_extension_generic() can only return a 32-bit
value, but that limitation can be easily circumvented by adding e.g.
KVM_CAP_GUEST_MEMFD_FLAGS2 in the unlikely event guest_memfd supports more
than 32 flags.
Reviewed-by: Ackerley Tng <ackerleytng@google.com>
Tested-by: Ackerley Tng <ackerleytng@google.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20251003232606.4070510-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
