Re: Some Code for Performance Profiling

2010-04-07 Thread Jiaqing Du
2010/4/5 Avi Kivity a...@redhat.com: On 03/31/2010 07:53 PM, Jiaqing Du wrote: Hi, We have some code about performance profiling in KVM. They are outputs of a school project. Previous discussions in KVM, Perfmon2, and Xen mailing lists helped us a lot. The code are NOT in a good shape

Some Code for Performance Profiling

2010-03-31 Thread Jiaqing Du
Hi, We have some code about performance profiling in KVM. They are outputs of a school project. Previous discussions in KVM, Perfmon2, and Xen mailing lists helped us a lot. The code are NOT in a good shape and are only used to demonstrated the feasibility of doing performance profiling in KVM.

MSRs load/store

2009-12-07 Thread Jiaqing Du
Hi List, My question is about VM-Exit VM-Entry controls for MSRs on Intel's processors. For VM-Exit, a VMM can specify lists of MSRs to be stored and loaded on VM exits. But for VM-Entry, a VMM can only specify a list of MSRs to be loaded on VM entries. Why does not the processor have the

Re: MSRs load/store

2009-12-07 Thread Jiaqing Du
is missing. Thanks, Jiaqing 2009/12/7 Avi Kivity a...@redhat.com: On 12/07/2009 05:07 PM, Jiaqing Du wrote: Hi List, My question is about VM-Exit  VM-Entry controls for MSRs on Intel's processors. For VM-Exit, a VMM can specify lists of MSRs to be stored and loaded on VM exits. But for VM-Entry

Re: NMI Injection to Guest

2009-08-01 Thread Jiaqing Du
not succeed. Thanks, Jiaqing 2009/7/30 Jiaqing Du jiaq...@gmail.com: Hi Gleb, My code works by setting vcpu-arch.nmi_pending = 1; inside vcpu_enter_guest(). Thanks, Jiaqing 2009/7/27 Gleb Natapov g...@redhat.com: On Sun, Jul 26, 2009 at 09:25:34PM +0200, Jiaqing Du wrote: Hi Gleb, Thanks

Re: NMI Injection to Guest

2009-07-30 Thread Jiaqing Du
Hi Gleb, My code works by setting vcpu-arch.nmi_pending = 1; inside vcpu_enter_guest(). Thanks, Jiaqing 2009/7/27 Gleb Natapov g...@redhat.com: On Sun, Jul 26, 2009 at 09:25:34PM +0200, Jiaqing Du wrote: Hi Gleb, Thanks for your reply. 2009/7/26 Gleb Natapov g...@redhat.com: On Sat

Re: NMI Injection to Guest

2009-07-26 Thread Jiaqing Du
Hi Gleb, Thanks for your reply. 2009/7/26 Gleb Natapov g...@redhat.com: On Sat, Jul 25, 2009 at 10:46:39PM +0200, Jiaqing Du wrote: Hi list, I'm trying to extend OProfile to support guest profiling. One step of my work is to push an NMI to the guest(s) when a performance counter overflows

NMI Injection to Guest

2009-07-25 Thread Jiaqing Du
Hi list, I'm trying to extend OProfile to support guest profiling. One step of my work is to push an NMI to the guest(s) when a performance counter overflows. Please correct me if the following is not correct: counter overflow -- NMI to host -- VM exit -- int $2 to handle NMI on host -- ... --