On Wed, Sep 25, 2019 at 11:17:14AM -0700, Jim Mattson wrote: > Don't return -E2BIG from __do_cpuid_func when processing function 0BH > or 1FH and the last interesting subleaf occupies the last allocated > entry in the result array. > > Cc: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> > Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx> > Fixes: 831bf664e9c1fc ("KVM: Refactor and simplify kvm_dev_ioctl_get_supported_cpuid") > Signed-off-by: Jim Mattson <jmattson@xxxxxxxxxx> > Reviewed-by: Peter Shier <pshier@xxxxxxxxxx> > --- Reviewed-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>