On 08/03/2011 09:02 AM, Xiao Guangrong wrote:
> Note we don't need to actually emulate, just decode, since page_fault can tell us whether a write failed due to page tables or mmio.
>
This is a interesting feature. If it happens, i will just drop the shadow pages
and retry these instructions directly.
Note it's a little dangerous. If the guest uses a non-page-table
modifying instruction on the PDE that points to the instruction, then we
will unmap the instruction and go to an infinite loop.
Maybe it's better to emulate if we can't find a fix for that.
One way would be to emulate every 20 instructions; this breaks us out of
the loop but reduces costly emulations to 5%.
--
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