tung hoang writes: > But from qemu-0.10.0 Qemu uses a softmmu model to speed up this process. > Its main idea is storing the offset of guest virtual address to host virtual > address in a TLB table.
As I remember it, it's on the lines of: tlb_entry = env->tlb_table[mem_index][hash(guest_virtual_address)]; if (tlb_entry.<access_type> == guest_virtual_address) { host_virtual_address = tlb_entry.addend } else { call the slow path through __ld routines } Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth