Hi Eduardo, I have finished implementing the implementing the roll-back functionality for transactional memory. There is one thing that I wanted to ask you. In order to roll-back, I need to log all the memory references. So that in that case when a transaction fails and roll-back occurs, memory state can also be rolled back. I will really apprecaite if you could direct me to the piece of code in QEMU for i386, where I can intercept the memory references. Thanks, Atif On 4/22/07, Eduardo Felipe wrote: > > Hi Atif, > > Your code seems quite ok to me. Just try including stored_eip inside the > DisasContext, otherwise you'll lose its value between calls to disas_insn > function. > > Also make sure that the instructions you are using as markers are not > executed elsewhere, as your compiler could generate them inside regular code > or they could already exist in your OS. > > Regards, > Eduardo > >