If i want to implement Intel X86 hardware transactional memory (HTM) in
QEMU. what would be a good way to track the memory accesses.

I think one possible way is to clear the software tlb on entry to the
transaction and disable (not install any translations) the software TLB
till the end of the transaction.

In the softmmu helper functions, the memory addresses as well as value can
then be tracked in a hashtable and committed to system memory once the
transaction is ready to be committed.

Thanks
Trent

Reply via email to