linux/tools/include/uapi
Thomas Huth c5edd753a0 KVM: x86: Remove the KVM_GET_NR_MMU_PAGES ioctl
The KVM_GET_NR_MMU_PAGES ioctl is quite questionable on 64-bit hosts
since it fails to return the full 64 bits of the value that can be
set with the corresponding KVM_SET_NR_MMU_PAGES call. Its "long" return
value is truncated into an "int" in the kvm_arch_vm_ioctl() function.

Since this ioctl also never has been used by userspace applications
(QEMU, Google's internal VMM, kvmtool and CrosVM have been checked),
it's likely the best if we remove this badly designed ioctl before
anybody really tries to use it.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230208140105.655814-4-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-03-16 10:18:06 -04:00
..
asm selftests/bpf: Fix build error for LoongArch 2023-02-15 08:47:53 -08:00
asm-generic mm/madvise: introduce MADV_COLLAPSE sync hugepage collapse 2022-09-11 20:25:46 -07:00
drm tools headers UAPI: Sync drm/i915_drm.h with the kernel sources 2022-12-20 14:28:13 -03:00
linux KVM: x86: Remove the KVM_GET_NR_MMU_PAGES ioctl 2023-03-16 10:18:06 -04:00
sound tools include UAPI: Sync sound/asound.h copy with the kernel sources 2022-10-25 17:40:48 -03:00