Re: [PATCH 2/4] kvm: Merge "atomic" and "write" in __gfn_to_pfn_memslot()
From: Peter Xu
Date: Tue Jun 28 2022 - 19:02:44 EST
On Tue, Jun 28, 2022 at 03:55:22PM -0700, John Hubbard wrote:
> On 6/28/22 15:50, Peter Xu wrote:
> > And if you see the patch I actually did something similar (in kvm_host.h):
> >
> > /* gfn_to_pfn (gtp) flags */
> > ...
> >
> > I'd still go for GTP, but let me know if you think any of the above is
> > better, I can switch.
> >
>
> Yeah, I'll leave that call up to you. I don't have anything better. :)
Thanks. I'll also give it a shot with Sean's suggestion on struct when
repost (I doubt whether I can bare with 4 bools after all..). If that goes
well we don't worry this too since there'll be no flag introduced.
--
Peter Xu