Re: [Qemu-devel] Saving and restoring CPU state

2007-04-18 Thread Rob Landley
On Thursday 12 April 2007 12:16 pm, eady wrote: I'm still looking for any suggestions on how to save and restore the target cpu state from within a custom instruction in op.c. I basically want a custom instruction to save the cpu state to a data structure and then continue on normally, a

Re: [Qemu-devel] Saving and restoring CPU state

2007-04-18 Thread andrzej zaborowski
On 18/04/07, Rob Landley [EMAIL PROTECTED] wrote: On Thursday 12 April 2007 12:16 pm, eady wrote: I'm still looking for any suggestions on how to save and restore the target cpu state from within a custom instruction in op.c. I basically want a custom instruction to save the cpu state to a

[Qemu-devel] Saving and restoring CPU state

2007-04-12 Thread eady
I'm still looking for any suggestions on how to save and restore the target cpu state from within a custom instruction in op.c. I basically want a custom instruction to save the cpu state to a data structure and then continue on normally, a second custom instruction would then be used to

[Qemu-devel] Saving and restoring CPU state

2007-04-08 Thread eady
I'm experimenting a bit with QEMU and am in need of a way to save and restore X86 CPU state including the pc so that the processor state can be rolled back to re execute from the previous point. I've found the functions cpu_x86_fsave and cpu_restore_state but do not understand them well enough