Re: [Qemu-devel] Saving state on a context switch

2007-05-02 Thread Paul Brook
On Wednesday 02 May 2007, eady wrote: > Can anyone think of a way to save and restore an additional cpu state > variable during a context switch without modifying the target operating > system? Basically I would like to add a variable to the CPUState > structure that is saved and restored with the

[Qemu-devel] Saving state on a context switch

2007-05-02 Thread eady
Can anyone think of a way to save and restore an additional cpu state variable during a context switch without modifying the target operating system? Basically I would like to add a variable to the CPUState structure that is saved and restored with the registers. Any ideas? Thanks, Nuri