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? Pointer to the 2009 thread: https://lists.nongnu.org/archive/html/qemu-devel/2009-06/msg01353.html
Cheers On Wed, Nov 18, 2015 at 10:15 AM, Eduardo Habkost <ehabk...@redhat.com> wrote: > On Wed, Nov 18, 2015 at 03:04:09AM -0500, Hao Bai wrote: > > Hi all, > > > > I read from an earlier thread in 2009 that QEMU did not simulate CPU > > caches. Is this still the case now? > > Could you clarify what you need? In which architecture? What > exactly you mean by "simulating CPU caches"? Do you just want the > guest to think the machine has a specific cache topology, or do > you want to emulate other cache behavior? Do you need support to > specific cache control instructions? > > Do you have a pointer to the 2009 thread? > > -- > Eduardo >