* How does Xen emulate guest's write to its pte ?
@ 2012-10-22 19:17 Xinxin Jin
0 siblings, 0 replies; only message in thread
From: Xinxin Jin @ 2012-10-22 19:17 UTC (permalink / raw)
To: Xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 459 bytes --]
Hi all,
I traced Xen's writable page table handler: PV guests' write operation to a
pte will trap to Xen's page fault handler ptwr_do_page_fault() which will
call x86_emulate() to emulate the write.
But after I print out the pte (which maps faulting virtual address) value,
I was very surprised to find that, the value does not change before/after
x86_emulation(). This result confuses me: so how does Xen emulate pte write
then ?
Thanks a lot !
--
Xinxin
[-- Attachment #1.2: Type: text/html, Size: 536 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-22 19:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-22 19:17 How does Xen emulate guest's write to its pte ? Xinxin Jin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).