Re: [PATCH v7 037/102] KVM: x86/mmu: Track shadow MMIO value/mask on a per-VM basis

Kai Huang
2022-07-28T00:48:44Z

On Wed, 2022-07-27 at 16:20 -0700, Isaku Yamahata wrote:
> > KVM has a global enable_mmio_caching boolean, and I think we should honor it
> > here (in this patch) by doing below first:
> >
> >   if (enabling_mmio_caching)
> >   mmio_value = 0;
>
> This function already includes "if (!enable_mmio_caching) mmio_value = 0;" in
> the beginning. (But not in this hunk, though).  So this patch honors the
> kernel
> module parameter.

Yeah I missed that. Thanks.

--
Thanks,
-Kai