Re: [PATCH] KVM: PPC: Make Performance Counters work

2010-04-19 Thread Alexander Graf
On 19.04.2010, at 12:34, Avi Kivity wrote: > On 04/17/2010 01:22 AM, Alexander Graf wrote: >> When we get a performance counter interrupt we need to route it on to the >> Linux handler after we got out of the guest context. We also need to tell >> our handling code that this particular interrupt

Re: [PATCH] KVM: PPC: Make Performance Counters work

2010-04-19 Thread Avi Kivity
On 04/17/2010 01:22 AM, Alexander Graf wrote: When we get a performance counter interrupt we need to route it on to the Linux handler after we got out of the guest context. We also need to tell our handling code that this particular interrupt doesn't need treatment. So let's add those two bits i

[PATCH] KVM: PPC: Make Performance Counters work

2010-04-16 Thread Alexander Graf
When we get a performance counter interrupt we need to route it on to the Linux handler after we got out of the guest context. We also need to tell our handling code that this particular interrupt doesn't need treatment. So let's add those two bits in, making perf work while having a KVM guest run