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

Stephan Diestelhorst
Mon Oct 15 09:29:35 EDT 2007


> > 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.
>

Thanks for the clarification, Matt!
Does that work with R219 already or do I have to upgrade?

Cheers,
  Stephan
-- 
Stephan Diestelhorst, AMD Operating System Research Center
stephan.diestelhorst at amd.com, Tel.   (AMD: 8-4903)




More information about the PTLsim-devel mailing list