public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Does KVM use one EPT table per Guest CR3?
@ 2010-12-07 21:47 Lok Kwong Yan
  2010-12-07 21:57 ` Anthony Liguori
  0 siblings, 1 reply; 11+ messages in thread
From: Lok Kwong Yan @ 2010-12-07 21:47 UTC (permalink / raw)
  To: kvm@vger.kernel.org

After some testing and digging around the 2.6.32-26 Kernel, Ubuntu port, , it seems to me that KVM creates a separate EPT table for each separate guest CR3 value. So, if there are 100 guest processes, there are essentially 100 EPT tables. Is this correct? If so, can someone please tell me where these tables are actually being created? Is this design decision a historical artifact from how QEMU/KVM (without EPT/NPT) created multiple shadow page tables so that each guest/virtual CR3 value has a corresponding real CR3 value so that memory based separation for the guest is enforced?

Thanks!

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-02-10 20:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-07 21:47 Does KVM use one EPT table per Guest CR3? Lok Kwong Yan
2010-12-07 21:57 ` Anthony Liguori
2010-12-07 22:00   ` Lok Kwong Yan
2010-12-07 22:11     ` Anthony Liguori
2010-12-10  7:44       ` Lok Kwong Yan
2010-12-12 10:47         ` Avi Kivity
2010-12-16 22:14           ` Lok Kwong Yan
2010-12-17 15:24             ` Avi Kivity
2010-12-19 14:31               ` Avi Kivity
2010-12-22 21:56                 ` Lok Kwong Yan
2011-02-10 20:47                 ` Lok Kwong Yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox