Re: [RFC PATCH 06/15] KVM: x86/mmu: Derive page role from parent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/27/21 03:07, Lai Jiangshan wrote:
On Sat, Nov 20, 2021 at 9:02 PM Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:


I have a similar patch for the old MMU, but it was also replacing
shadow_root_level with shadow_root_role.  I'll see if I can adapt it to
the TDP MMU, since the shadow_root_role is obviously the same for both.


Hello, Paolo

I'm sorry to ask something unrelated to this patchset, but related
to my pending work.

I will still continue to do something on shadow_root_level.  But I
would like to wait until your shadow_root_role work is queued.
And is it a part of work splitting the struct kvm_mmu?

Yes, more or less. I'm basically splitting the "CPU role" (the basic and extended role from the processor registers) used for emulation, from the "MMU role" (the basic role used for the root shadow page tables). Then shadow_root_level/root_level become respectively mmu_role->level and cpu_role->base.level.

Paolo




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux