On 02.12.2020 19:31, Julien Grall wrote: > On 05/11/2020 15:55, Jan Beulich wrote: >> This array can be large when many grant frames are permitted; avoid >> allocating it when it's not going to be used anyway. > > Given there are not many users of grant-table v2, would it make sense to > avoid allocating the array until the guest start using grant-table v2?
Hmm, yes, seems possible. Let me give this a try. Jan