Message ID | 61c7480fa36775cc2baa2f8141f0c64a15f827b5.1427118794.git.riku.voipio@linaro.org |
---|---|
State | Accepted |
Commit | 61c7480fa36775cc2baa2f8141f0c64a15f827b5 |
Headers | show
Return-Path: <patchwork-forward+bncBC4MBBM76YMRBLVZYCUAKGQEK742DBI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E3D7C20D10 for <linaro@patches.linaro.org>; Mon, 23 Mar 2015 14:01:18 +0000 (UTC) Received: by wghb13 with SMTP id b13sf18612615wgh.3 for <linaro@patches.linaro.org>; Mon, 23 Mar 2015 07:01:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding:cc :subject:precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=Q2rkAmWt77miSL2ERZyIAIR2yuUWOFdk8HbMtUcwRY0=; b=TT8Q4B3BM7zZkRsHBjqImAwlhJ6ea8qp6OUxK/XH2gKGmr2fQkZvxHQ6jFmdaAEwp5 W0wxmY1L67x8acgLbWR84x/LHPhGg+CW+YjkjSeQbokrw/vlIFYQRlX+lDdYkoFs7uZD iUkJF3Ai7URGpQ0R0j/fYCPS2Zl8wyK+lEnPA9/9/GwZPLbZnSvCKcXSNnnmTihWen5a YTdFDDXtzDkxnX3jIy4vEMu10pNscjx81eN4VYzrTxzResu0KothRif6hkLz9Wyt9nQE hg7eHENyquW4jq0Th4pFcs3sbYSwTrFkI3sBFUIn1ZXtFPERU+bTah8k/b4XpKzMgvD1 HkRg== X-Gm-Message-State: ALoCoQmlb9aIVGcQ5krMT40pNh7aHdE19H92Pyskx9NGEkWwnFqIrbFJHdr6OgwElDXuDvuh9a3e X-Received: by 10.112.125.67 with SMTP id mo3mr13747944lbb.6.1427119278226; Mon, 23 Mar 2015 07:01:18 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.42.237 with SMTP id r13ls687677lal.74.gmail; Mon, 23 Mar 2015 07:01:17 -0700 (PDT) X-Received: by 10.152.2.105 with SMTP id 9mr61605204lat.16.1427119277953; Mon, 23 Mar 2015 07:01:17 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id je8si746495lac.6.2015.03.23.07.01.17 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Mar 2015 07:01:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by labto5 with SMTP id to5so27097636lab.0 for <patchwork-forward@linaro.org>; Mon, 23 Mar 2015 07:01:17 -0700 (PDT) X-Received: by 10.152.120.134 with SMTP id lc6mr82770054lab.72.1427119277692; Mon, 23 Mar 2015 07:01:17 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.57.201 with SMTP id k9csp845254lbq; Mon, 23 Mar 2015 07:01:17 -0700 (PDT) X-Received: by 10.140.239.68 with SMTP id k65mr121836188qhc.76.1427119276429; Mon, 23 Mar 2015 07:01:16 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id v9si778614qcm.42.2015.03.23.07.01.15 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 23 Mar 2015 07:01:16 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:56140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1Ya2up-0004ff-KP for patch@linaro.org; Mon, 23 Mar 2015 10:01:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1Ya2pV-0004GT-Ia for qemu-devel@nongnu.org; Mon, 23 Mar 2015 09:55:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1Ya2pQ-00013R-MZ for qemu-devel@nongnu.org; Mon, 23 Mar 2015 09:55:45 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:35248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1Ya2pQ-000136-De for qemu-devel@nongnu.org; Mon, 23 Mar 2015 09:55:40 -0400 Received: by lbcgn8 with SMTP id gn8so118707810lbc.2 for <qemu-devel@nongnu.org>; Mon, 23 Mar 2015 06:55:39 -0700 (PDT) X-Received: by 10.152.206.7 with SMTP id lk7mr85535629lac.55.1427118939698; Mon, 23 Mar 2015 06:55:39 -0700 (PDT) Received: from localhost.localdomain (91-157-196-38.elisa-laajakaista.fi. [91.157.196.38]) by mx.google.com with ESMTPSA id j6sm204311laf.5.2015.03.23.06.55.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Mar 2015 06:55:39 -0700 (PDT) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Mon, 23 Mar 2015 15:54:55 +0200 Message-Id: <61c7480fa36775cc2baa2f8141f0c64a15f827b5.1427118794.git.riku.voipio@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <cover.1427118794.git.riku.voipio@linaro.org> References: <cover.1427118794.git.riku.voipio@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.217.175 Cc: Leon Alrae <leon.alrae@imgtec.com> Subject: [Qemu-devel] [PULL 3/3] linux-user: fix broken cpu_copy() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: riku.voipio@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/linux-user/main.c b/linux-user/main.c index 31eb60f..a8adb04 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -3451,7 +3451,7 @@ CPUArchState *cpu_copy(CPUArchState *env) { CPUState *cpu = ENV_GET_CPU(env); CPUState *new_cpu = cpu_init(cpu_model); - CPUArchState *new_env = cpu->env_ptr; + CPUArchState *new_env = new_cpu->env_ptr; CPUBreakpoint *bp; CPUWatchpoint *wp;