From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6qYP-0001Sh-1C for qemu-devel@nongnu.org; Sun, 11 Mar 2012 17:43:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6qYN-0003Nl-Be for qemu-devel@nongnu.org; Sun, 11 Mar 2012 17:43:48 -0400 Received: from mail-yx0-f173.google.com ([209.85.213.173]:57397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6qYN-0003LY-4j for qemu-devel@nongnu.org; Sun, 11 Mar 2012 17:43:47 -0400 Received: by yenr5 with SMTP id r5so2391059yen.4 for ; Sun, 11 Mar 2012 14:43:44 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Mulyadi Santosa Date: Mon, 12 Mar 2012 04:43:04 +0700 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] How to trace all the guest OS instructions and the micro-ops List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yue Chen Cc: qemu-devel@nongnu.org Hi.... On Sun, Mar 11, 2012 at 10:12, Yue Chen wrote: > I am doing some research based on the=A0QEMU. Does anyone know how to get > (trace) all the instructions of the guest OS, and get all the intermediat= e > micro-ops ? =A0(Not in the 0.9.1 version) I believe it's "-d" option you're looking for. Please read qemu manual for further clarification and info. > Additionally, how to get the whole memory or each process' memory data of > the guest OS? you wanna do that simply from Qemu's monitor? I don't think that's doable...or at least easily. Qemu sees guest RAM like your physical RAM. It doesn't differentiate which pages belongs to which process. You need to hook or go straight inside the guest OS, maybe using gdb or other tool to get the core dump of those processes. > I really appreciate your help. Hope it helps... --=20 regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com