On 06/13/2011 07:46 AM, Xiao Guangrong wrote:
>> >> and it has little heavy sine we need to walk guest page table, >> and build spte under mmu-lock. > > For shadow, yes, this is a good optimization. But with nested paging it slow things down. We already have the gpa, so all we need to do is follow the mmio path. There's no need to walk the spte hierarchy. > Yes, it is, i just want to detect BUG for KVM, it helps us to know if "ept misconfig" is the real MMIO or the BUG. I noticed some "ept misconfig" BUGs is reported before, so i think doing this is necessary, and i think it is not too bad, since walking spte hierarchy is lockless, it really fast.
Okay. We can later see if it show up on profiles. -- error compiling committee.c: too many arguments to function -- 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