Sean Christopherson
d2042d8f96
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>
2025-10-10 14:25:22 -07:00
..
2025-07-02 08:10:26 -06:00
2025-07-03 09:25:01 +02:00
2025-09-04 09:19:25 +02:00
2025-08-16 08:47:38 +08:00
2025-04-02 18:23:31 -07:00
2025-03-26 13:59:38 +01:00
2025-07-08 10:23:13 -04:00
2025-05-05 13:22:39 -06:00
2025-07-16 18:38:05 -07:00
2025-07-22 01:13:03 +02:00
2025-07-04 19:21:53 -05:00
2025-04-30 08:16:07 +02:00
2025-06-12 14:00:18 +02:00
2025-07-23 17:07:35 -07:00
2025-05-04 11:35:06 +02:00
2025-06-27 16:38:02 -07:00
2025-03-25 11:30:42 -07:00
2025-03-25 12:48:05 -04:00
2025-07-21 18:21:19 -07:00
2025-06-25 15:24:13 -07:00
2025-07-10 17:57:49 -07:00
2025-06-23 12:45:13 +02:00
2025-06-24 16:58:42 +02:00
2025-04-17 19:04:50 -07:00
2025-07-28 15:24:14 -07:00
2025-04-08 19:32:11 -07:00
2025-04-15 12:56:40 +02:00
2025-05-03 12:02:09 +02:00
2025-07-08 15:31:44 +02:00
2025-07-14 09:15:58 +02:00
2025-04-17 19:04:50 -07:00
2025-04-17 19:04:50 -07:00
2025-04-17 19:04:50 -07:00
2025-04-17 19:04:50 -07:00
2025-04-17 19:04:50 -07:00
2025-04-14 15:56:42 -07:00
2025-04-17 19:04:50 -07:00
2025-04-17 19:04:50 -07:00
2025-07-08 10:59:42 +02:00
2025-04-17 19:04:50 -07:00
2025-04-17 19:04:50 -07:00
2025-04-17 19:04:50 -07:00
2025-07-08 18:07:26 +02:00
2025-04-17 19:04:50 -07:00
2025-07-10 14:48:29 +02:00
2025-06-10 14:41:14 -07:00
2025-08-05 13:51:10 -07:00
2025-06-20 11:52:06 +01:00
2025-07-30 08:23:04 -06:00
2025-07-18 17:33:08 -03:00
2025-04-17 19:04:50 -07:00
2025-07-25 13:06:19 -07:00
2025-05-08 16:04:06 +03:00
2025-08-02 12:01:38 -07:00
2025-04-11 17:01:25 -04:00
2025-10-10 14:25:22 -07:00
2025-04-17 11:09:10 +02:00
2025-07-08 12:39:24 +02:00
2025-09-15 18:12:05 -07:00
2025-09-15 18:12:05 -07:00
2025-03-21 18:24:22 +00:00
2025-06-30 18:14:23 -07:00
2025-06-25 15:35:20 -07:00
2025-04-17 19:04:50 -07:00
2025-07-25 13:06:19 -07:00
2025-07-24 18:34:55 -07:00
2025-04-17 19:04:50 -07:00
2025-07-18 14:14:43 +02:00
2025-06-11 11:59:08 +02:00
2025-07-07 14:30:39 -07:00
2025-04-17 12:30:02 +02:00
2025-07-14 14:58:13 -05:00
2025-07-24 16:51:46 -05:00
2025-05-22 11:03:41 +02:00
2025-08-20 15:30:36 +02:00
2025-06-24 15:50:06 +02:00
2025-05-15 11:44:29 -07:00
2025-07-23 17:52:07 -07:00
2025-07-29 20:21:54 -07:00
2025-08-16 17:20:23 +08:00
2025-05-11 17:48:15 -07:00
2025-07-07 08:39:33 +02:00
2025-06-18 09:21:58 +02:00
2025-04-14 17:36:41 -07:00
2025-07-14 18:41:42 -07:00
2025-05-07 14:25:30 -07:00
2025-07-25 13:06:19 -07:00
2025-05-20 22:49:39 -07:00
2025-04-24 18:21:04 -07:00
2025-06-19 14:28:22 +02:00
2025-05-21 13:41:03 +02:00
2025-06-30 20:13:42 -06:00
2025-04-17 12:30:02 +02:00
2025-06-18 09:21:58 +02:00
2025-08-05 15:41:14 -06:00
2025-07-08 18:05:23 +02:00
2025-08-26 03:38:19 -04:00
2025-07-11 19:27:30 +02:00
2025-03-28 04:53:51 +03:00
2025-07-08 18:05:47 +02:00
2025-04-14 09:51:31 -04:00
2025-05-27 10:27:54 -04:00
2025-06-24 17:12:59 -07:00
2025-08-01 10:42:22 +02:00
2025-05-27 09:06:19 +02:00