[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] why xen use x86_emulation() in page_fault
On Tue, Oct 11, 2011 at 7:29 PM, Tim Deegan <tim@xxxxxxx> wrote:
I've read a slide said that in Lazy mode:
when guest os modify the GPT, do not emulate (there is no write-protected PTE, so guest can directly modify it)
1) when the access right ascension, the guest OS will INVLPG to shootdown TLB, so hypervisor can catch the INPLPG inst to sync up the SPT/GPT
2) when access right down, when guest OS access this page it will trap to xen, xen will catch #PF to sync up SPT/GPT,
I'm not sure if this can work?
> Why do you want to avoid calling the emulator? What is your overall goal? > It might be that tinkering in the shadow pagetables isn't the best way > to acheive it. because we're doing some research of security aspect about xen, what's our goal is avoid xen to access the HVM's memory in the page fault situation, it's hard to say it out in short words, we have thought a lot of ways but there is no a simpler one than avoiding the emulation in page_fault.
Thanks
-- - Luit @ Parallel Processing Institute, Fudan University _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |