Re: Trouble adding kvm clock trace to qemu-kvm

2011-05-09 Thread Stefan Hajnoczi
On Sat, Apr 30, 2011 at 6:00 PM, Chris Thompson wrote: > I'm trying to add a trace to qemu-kvm that will log the value of the vcpu's > clock when a specific interrupt gets pushed. I'm working with > qemu-kvm-0.14.0 on the 2.6.32-31 kernel. I've added the following to > kvm_arch_try_push_interrupts

Re: Trouble adding kvm clock trace to qemu-kvm

2011-05-09 Thread Avi Kivity
On 04/30/2011 08:00 PM, Chris Thompson wrote: I'm trying to add a trace to qemu-kvm that will log the value of the vcpu's clock when a specific interrupt gets pushed. I'm working with qemu-kvm-0.14.0 on the 2.6.32-31 kernel. I've added the following to kvm_arch_try_push_interrupts in qemu-kvm-x

Trouble adding kvm clock trace to qemu-kvm

2011-04-30 Thread Chris Thompson
I'm trying to add a trace to qemu-kvm that will log the value of the vcpu's clock when a specific interrupt gets pushed. I'm working with qemu-kvm-0.14.0 on the 2.6.32-31 kernel. I've added the following to kvm_arch_try_push_interrupts in qemu-kvm-x86.c: if (irq == 41) { // Get the VCPU's