From patchwork Tue Jan 3 21:22:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 134081 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0938AB6F9D for ; Wed, 4 Jan 2012 08:08:14 +1100 (EST) Received: from localhost ([::1]:34759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiBad-0002Ag-0h for incoming@patchwork.ozlabs.org; Tue, 03 Jan 2012 16:08:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiBaS-00025H-91 for qemu-devel@nongnu.org; Tue, 03 Jan 2012 16:08:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiBaR-0004XJ-8F for qemu-devel@nongnu.org; Tue, 03 Jan 2012 16:08:00 -0500 Received: from cantor2.suse.de ([195.135.220.15]:60844 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiBaR-0004X3-18; Tue, 03 Jan 2012 16:07:59 -0500 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 9CA5F8B013; Tue, 3 Jan 2012 22:07:57 +0100 (CET) From: Alexander Graf To: "qemu-devel@nongnu.org Developers" Date: Tue, 3 Jan 2012 22:22:19 +0100 Message-Id: <1325625740-18926-3-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <1325625740-18926-1-git-send-email-agraf@suse.de> References: <1325625740-18926-1-git-send-email-agraf@suse.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 195.135.220.15 Cc: qemu-ppc@nongnu.org, Hollis Blanchard Subject: [Qemu-devel] [PATCH 2/3] PPC: 440: Default to 440EP CPU X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Today we're exposing a Virtex 440 CPU to the guest despite the fact that we're telling the guest that we're running on a 440EP one in the device tree. So let's better default to a real 440EP to make things synced again. Signed-off-by: Alexander Graf --- hw/ppc440.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/ppc440.c b/hw/ppc440.c index f7779bf..8920abb 100644 --- a/hw/ppc440.c +++ b/hw/ppc440.c @@ -48,7 +48,7 @@ CPUState *ppc440ep_init(MemoryRegion *address_space_mem, ram_addr_t *ram_size, qemu_irq *pci_irqs; if (cpu_model == NULL) { - cpu_model = "440-Xilinx"; // XXX: should be 440EP + cpu_model = "440EP"; } env = cpu_init(cpu_model); if (!env) {