From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NooiG-000470-G6 for qemu-devel@nongnu.org; Mon, 08 Mar 2010 20:58:24 -0500 Received: from [199.232.76.173] (port=57790 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NooiF-00046I-U1 for qemu-devel@nongnu.org; Mon, 08 Mar 2010 20:58:23 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NooiE-0005vK-0u for qemu-devel@nongnu.org; Mon, 08 Mar 2010 20:58:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46413) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NooiD-0005ui-Ch for qemu-devel@nongnu.org; Mon, 08 Mar 2010 20:58:21 -0500 Message-Id: <20100309015644.133975091@redhat.com> Date: Mon, 08 Mar 2010 22:53:44 -0300 From: Marcelo Tosatti References: <20100309015343.901738854@redhat.com> Content-Disposition: inline; filename=print-efer Subject: [Qemu-devel] [patch 1/3] target-i386: print EFER in cpu_dump_state List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kvm@vger.kernel.org, qemu-devel@nongnu.org Cc: Marcelo Tosatti Signed-off-by: Marcelo Tosatti Index: qemu-kvm-uq/target-i386/helper.c =================================================================== --- qemu-kvm-uq.orig/target-i386/helper.c +++ qemu-kvm-uq/target-i386/helper.c @@ -1176,6 +1176,7 @@ void cpu_dump_state(CPUState *env, FILE cpu_x86_dump_seg_cache(env, f, cpu_fprintf, "TR", &env->tr); #ifdef TARGET_X86_64 + cpu_fprintf(f, "EFER= %016" PRIx64 "\n", env->efer); if (env->hflags & HF_LMA_MASK) { cpu_fprintf(f, "GDT= %016" PRIx64 " %08x\n", env->gdt.base, env->gdt.limit);