[RFC PATCH 10/37] KVM: MMU: Move struct kvm_page_fault to common code

David Matlack dmatlack at google.com
Mon Jan 9 10:55:45 PST 2023


On Mon, Dec 12, 2022 at 2:27 PM Paolo Bonzini <pbonzini at redhat.com> wrote:
>
> On 12/8/22 20:38, David Matlack wrote:
> > +
> > +     /* Derived from mmu and global state.  */
> > +     const bool is_tdp;
>
> I think this could stay in the architecture-independent part.

I agree but until there's a use case for accessing it in common code
I'm inclined to leave it in x86's kvm_page_fault_arch.



More information about the linux-riscv mailing list