Re: [PATCH v10 6/9] KVM: Unmap existing mappings when change the memory attributes

From: Chao Peng
Date: Mon Dec 19 2022 - 02:59:08 EST


On Tue, Dec 13, 2022 at 11:51:25PM +0000, Huang, Kai wrote:
> On Fri, 2022-12-02 at 14:13 +0800, Chao Peng wrote:
> >  
> > - /* flags is currently not used. */
> > + /* 'flags' is currently not used. */
> >   if (attrs->flags)
> >   return -EINVAL;
>
> Unintended code change.

Yeah!

Chao