On Wed, Nov 06, 2019 at 04:40:06AM -0700, Jon Derrick wrote: > + max_vectors = min_t(int, vmd->msix_count, num_possible_cpus() + 1); > + if (nvec > max_vectors) > + return max_vectors; If vmd's msix vectors beyond num_possible_cpus() are inaccessible, why not just limit vmd's msix_count the same way?