Re: [PATCH] KVM: Adjust the return type of kvm_vm_ioctl_check_extension_generic()
From: Paolo Bonzini
Date: Wed Jun 01 2022 - 06:49:07 EST
On Tue, May 31, 2022 at 9:39 PM Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
> As for KVM_GET_NR_MMU_PAGES, my vote would be just sweep it under the rug with a
> comment and blurb in the documentation that it's broken. I highly doubt any VMM
> actually uses the ioctl() in any meaningful way as it was largely made obsolete by
> two-dimensional paging, e.g. neither QEMU nor our VMM use it.
I think we can just remove it, or return 0.
Paolo