Hi everybody. Weiping is a colleague of mine at Google, and he's trying to
use the m5 utility to take a checkpoint from within a simulation on aarch64
which is running in KVM mode. The utility was causing an illegal
instruction fault, and so I started looking into it for him.
Unsurprisingly, the illegal instruction actually is an illegal instruction
which would trigger the checkpointing pseudo instruction if gem5 had seen
it, but I believe everything stayed within kvm land and so no checkpoint
was taken.

I remember a while ago there being an effort to switch the pseudo
instructions over to be a magical device with the same behavior so that it
could trap reads/writes when in KVM mode. I see some evidence that support
was added for that in the 32 bit version of the m5 utility, but then later
removed because it caused other problems. I don't see any evidence that
that support was added to the 64 bit version.

What's the current state of this? Is this something we could get working
with a reasonably small amount of effort, or is there a workaround, or...?

Gabe
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to