On Wed, Nov 18, 2015 at 12:56:28PM -0500, Pranith Kumar wrote: > Hi, > > On Wed, Nov 18, 2015 at 11:48 AM, Hao Bai <hb...@virginia.edu> wrote: > > > Sorry about the ambiguity. > > I am using x86-64 architecture in user mode. Basically, I am trying to log > > all the cache activities when I run a guest program with QEMU. That's why I > > asked whether QEMU simulated CPU caches. I was assuming if QEMU did not > > simulate CPU caches then there would be no way to do this (Correct me if I > > am wrong). Is there a way to do this? > > > > > <Shameless plug> > > You can try qsim: https://github.com/gtcasl/qsim > > In particular look at the cache simulator: > https://github.com/gtcasl/qsim/blob/master/examples/x86/cachesim.cpp > > Setup instructions: https://github.com/pranith/qsim-setup
Interesting. How much did you change QEMU to make this work? Have you been rebasing this to recent QEMU versions often? -- Eduardo