Re: [Qemu-devel] CPU Cache simulation

2015-11-20 Thread LluĂ­s Vilanova
Pranith Kumar writes: > On Wed, Nov 18, 2015 at 1:06 PM, Eduardo Habkost wrote: >> >> >> Interesting. How much did you change QEMU to make this work? Have >> you been rebasing this to recent QEMU versions often? > The core of qemu is not changed except for one TCG issue I didn't know > how to

Re: [Qemu-devel] CPU Cache simulation

2015-11-18 Thread Pranith Kumar
On Wed, Nov 18, 2015 at 1:06 PM, Eduardo Habkost wrote: > > > Interesting. How much did you change QEMU to make this work? Have > you been rebasing this to recent QEMU versions often? The core of qemu is not changed except for one TCG issue I didn't know how to fix. Rest is just annotating the c

Re: [Qemu-devel] CPU Cache simulation

2015-11-18 Thread Pranith Kumar
Hi, On Wed, Nov 18, 2015 at 11:48 AM, Hao Bai 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 i

Re: [Qemu-devel] CPU Cache simulation

2015-11-18 Thread Eduardo Habkost
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 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 Q

Re: [Qemu-devel] CPU Cache simulation

2015-11-18 Thread Hao Bai
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

Re: [Qemu-devel] CPU Cache simulation

2015-11-18 Thread Eduardo Habkost
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 w

[Qemu-devel] CPU Cache simulation

2015-11-18 Thread Hao Bai
Hi all, I read from an earlier thread in 2009 that QEMU did not simulate CPU caches. Is this still the case now? Cheers