KVMTRACE

Exhaustive instruction and memory traces of KVM guests, for MacSim

A Rust library, an LD_PRELOAD interposer for unmodified QEMU (-accel kvm), and a command-line tool. Every instruction a guest executes (its kernel included), every memory access with virtual and physical address, the vCPU, CS/privilege level and CR3: written as MacSim traces plus a sideband for what MacSim's record has no room for.

Start here: