From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rayson Ho Subject: Re: Tracing KVM with Systemtap Date: Wed, 22 Sep 2010 08:42:37 -0400 Message-ID: <1285159357.6879.31.camel@computer> References: <1283952030.2631.19.camel@computer> <1284988762.2500.13.camel@computer> <1285073887.2566.39.camel@computer> <1285157490.6879.23.camel@computer> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, systemtap@sources.redhat.com, Prerna Saxena To: Stefan Hajnoczi Return-path: In-Reply-To: List-Unsubscribe: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org List-Id: kvm.vger.kernel.org On Wed, 2010-09-22 at 13:33 +0100, Stefan Hajnoczi wrote: > KVM does not generate code. Almost all the "emulation" code in the > source tree is part of the Tiny Code Generator (TCG) used when KVM is > not enabled (e.g. to emulate an ARM board on an x86-64 host). Thanks, that's what I thought too. Otherwise it would be really slow to run KVM :) But if KVM is not used, and QEMU host & guest are running on the same architecture, is TCG off? (Hmm, I guess I can find that answer myself by reading the code). Stefan, are you accepting patches? If so, I will create a patch with the Systemtap framework & other probes. Rayson > > If you follow the life-cycle in vl.c it will take you through cpus.c > and into kvm-all.c:kvm_cpu_exec(). Note that the details differ > slightly between qemu.git and qemu-kvm.git, and I have described > qemu.git. > > Stefan > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html