From patchwork Tue Mar 9 01:53:44 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Tosatti X-Patchwork-Id: 84206 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o291wRcR005105 for ; Tue, 9 Mar 2010 01:58:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756548Ab0CIB6Z (ORCPT ); Mon, 8 Mar 2010 20:58:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53911 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756535Ab0CIB6V (ORCPT ); Mon, 8 Mar 2010 20:58:21 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o291wJjA004893 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 8 Mar 2010 20:58:19 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o291wJOp011811; Mon, 8 Mar 2010 20:58:19 -0500 Received: from amt.cnet (vpn-10-246.rdu.redhat.com [10.11.10.246]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o291wHdu007793; Mon, 8 Mar 2010 20:58:18 -0500 Received: from amt.cnet (amt.cnet [127.0.0.1]) by amt.cnet (Postfix) with ESMTP id 57A7268A7D5; Mon, 8 Mar 2010 22:57:17 -0300 (BRT) Received: (from marcelo@localhost) by amt.cnet (8.14.3/8.14.3/Submit) id o291vHq3025641; Mon, 8 Mar 2010 22:57:17 -0300 Message-Id: <20100309015644.133975091@redhat.com> User-Agent: quilt/0.47-1 Date: Mon, 08 Mar 2010 22:53:44 -0300 From: Marcelo Tosatti To: kvm@vger.kernel.org, qemu-devel@nongnu.org Cc: Marcelo Tosatti Subject: [patch 1/3] target-i386: print EFER in cpu_dump_state References: <20100309015343.901738854@redhat.com> Content-Disposition: inline; filename=print-efer X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 09 Mar 2010 01:58:27 +0000 (UTC) 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);