[PTLsim-devel] Domain crashes when swithcing back and forth between native & simulation.

Matt T. Yourst
Sat Oct 13 18:22:13 EDT 2007


On Saturday 13 October 2007 15:59, Ferad Zyulkyarov wrote:
> Hi,
>
> I have also seen the same problem but couldn't identify where the
> problem is exactly.
>

It's most likely a race condition somewhere in the modified Xen hypervisor 
itself. I tried to track this down earlier this year, but I could not find 
the problem and eventually I gave up. It seemed to be related to saving and 
restoring EFLAGS if the sim-to-native switch occurred while the domain was in 
kernel mode.

The simple solution is to avoid repeatedly switching between native mode and 
simulation. Checkpoints are probably the best way to avoid doing this - see 
our tutorial on how to make checkpoints very precisely.

- Matt

-------------------------------------------------------
 Matt T. Yourst                    yourst at peptidal.com
 Peptidal Research Inc., Co-Founder and Lead Architect
-------------------------------------------------------


More information about the PTLsim-devel mailing list