From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dushyant Bansal Date: Tue, 15 Feb 2011 14:33:15 +0000 Subject: =?UTF-8?B?UmU6IHFlbXUgY29tcGlsaW5nIGVycm9yIG9uIHBwYzY0OiBrdm0uYzo=?= Message-Id: <4D5A8BDB.1000206@cse.iitd.ac.in> List-Id: References: <7564d180e958415b388e0cb93e2f2a71.squirrel@webmail.iitd.ernet.in> <57F58C04-DDF3-4F8C-9BC3-DAED54D2D088@suse.de> <4D4C5149.80303@cse.iitd.ac.in> <7703D057-F12D-4B95-9AEE-190C4EB2A3CE@suse.de> In-Reply-To: <7703D057-F12D-4B95-9AEE-190C4EB2A3CE@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alexander Graf Cc: "qemu-devel@nongnu.org" , "kvm-ppc@vger.kernel.org" >>> Hrm. This means that your kernel headers in /usr/include/linux are too old. Can you try and find out which kernel version they are from please >>> >>> >> Yes, kernel headers version is 2.6.32. For the time being, I copied some of the header files from kvm/arch/powerpc/include/asm/ to kernel headers and qemu build was successful. >> Thanks a lot. >> > Awesome! I'm eager to hear how well it works for you :) I collected some performance stats using kvm_stat. To get more information about exit counts of individual instructions, I configured CFLAGS_emulate.o with DDEBUG flag. Now, I can see output of "pr_debug("Emulating opcode %d / %d\n", get_op(inst), get_xop(inst));" instruction in kernel logs. I have two queries: 1. The count of "Emulating opcode...." statement in /var/log/kern.log (3 million) is coming out to be much less than emulated_inst_exits (22 million) using kvm_stat. 2. How to configure makefiles to get output of printk statements inside kvm/arch/powerpc/kvm/trace.h Also, every time I start kvm, I get this error "KVM: Couldn't find level irq capability. Expect the VM to stall at times". After some time, the VM just hangs. I traced this output to qemu/target-ppc/kvm.c Is there any way to avoid it. Thanks, Dushyant