Re: KVM MMU: why write-protect for the pages containing PML4/PDPT/PDT (page directory) of the guest?

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

 



Il 12/06/2013 23:28, yongcheng.wu@xxxxxxxxxxxxx ha scritto:
> I have a problem for shadow page table. why is write-protect for the
> pages containing PML4/PDPT/PDT (page directory) of the guest? In
> other words, need to synchronize the change of the page directory of
> the guest?

Shadow page tables are the combination of both the host and guest page
tables into a single translation.  So they need to be updated every time
the host or the guest change the page tables.  Updates for the host page
tables are tracked with MMU notifiers; updates for the guest page tables
are tracked with write protection.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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