>I am trying to capture in vmx.c the hardware
>performance counter(PMU) interrupt of a i386 Linux
>kernel running with perfmon on a Core 2 Duo machine
>running with kvm-15. host is running kvm with VT-x in
>x86-64 mode.
>
>The PMU interrupt is programmed in the APIC LVT entry
>(set to 0xee)by the guest OS. Similarly, an IDT entry
>connects the interrupt vector to the interrupt
>handler.
>I am not able to catch, in kvm, the PMU interrupt
>happening in VMX non-root mode. It does not seem to
>appear in the VM-exit interruption information nor in
>the IDT-vectoring information. It does not seem to
>be caught by any of the exit handlers yet the host PMU
>interrupt handler catches it which is not what we
>want.
>
>Any idea on what is going on with this interrupt?

It cannot just work by itself. You need to virtualize it.
You need to handle the RDPMC action in the guest and virtualize
it on the host. When the host will get interrupted (running in 
non-vmx root mode) you'll need to inject the irq back to the 
guest. Also note that you'll need to save the PMC state for
each guest on the host side.


>
>Thanks
>shobha
>
>
>
>
>_______________________________________________________________________
____
>_________
>Expecting? Get great news right away with email Auto-Check.
>Try the Yahoo! Mail Beta.
>http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
>
>-----------------------------------------------------------------------
--
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share
>your
>opinions on IT & business topics through brief surveys-and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
EV
>_______________________________________________
>kvm-devel mailing list
>kvm-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to