From patchwork Fri Aug 1 15:32:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Stabellini X-Patchwork-Id: 34713 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ACCD220540 for ; Fri, 1 Aug 2014 15:35:36 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id rl12sf21457057iec.5 for ; Fri, 01 Aug 2014 08:35:36 -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:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=De9TOEBZLAu7KCL2I8nfOYXhO3jHtW40fEwkrQwLT1Q=; b=i01ALy3qWaSccs6DyMtPduoF6jx8068lzaBIY3mfKEFnVuYfVO5F4dij0Pwayibw6Y gd/jWQzKSODHzEW8GNDYUnRRNNBK29cXDrp+ZfBNXg+QB5SNoBCLId9IXJBc17/y+KmH nQIhBRMu7XXF/sVCloe9QMzyzZJtnIaunWZunFWnYJ5psm5/zPbckAHFjZVjsR/Deaxg NSx43RE6q/iF19rBFBKBL1ztbN/1LJdQ848TJEVMm1Z0Z0/3QAPGj3D+3rDfzsnSODY4 kfcyjMSXhH4ufZxiE9SrqIKIeZSeTYsR7EsLtcPa4tbPm/vP0kk5T7tUT3k318N9F8vE KNwg== X-Gm-Message-State: ALoCoQlQjx5qQdVQBTPxMQXKRTsQSC5rs9PxqNeZ/RPP+DKwJEy3LQaekk/RIsKU6MGPpvZjIelG X-Received: by 10.50.57.111 with SMTP id h15mr2317771igq.3.1406907336217; Fri, 01 Aug 2014 08:35:36 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.80 with SMTP id o74ls1341137qgd.48.gmail; Fri, 01 Aug 2014 08:35:36 -0700 (PDT) X-Received: by 10.52.94.36 with SMTP id cz4mr3008015vdb.75.1406907336056; Fri, 01 Aug 2014 08:35:36 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id q3si7623741ves.44.2014.08.01.08.35.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Aug 2014 08:35:36 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id la4so6997339vcb.19 for ; Fri, 01 Aug 2014 08:35:36 -0700 (PDT) X-Received: by 10.52.129.165 with SMTP id nx5mr5766886vdb.25.1406907335965; Fri, 01 Aug 2014 08:35:35 -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.221.37.5 with SMTP id tc5csp120109vcb; Fri, 1 Aug 2014 08:35:35 -0700 (PDT) X-Received: by 10.50.117.106 with SMTP id kd10mr8805074igb.5.1406907334984; Fri, 01 Aug 2014 08:35:34 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id j15si23191545icg.10.2014.08.01.08.35.34 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 01 Aug 2014 08:35:34 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XDEpu-0004Ft-Oh; Fri, 01 Aug 2014 15:33:38 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XDEps-0004FF-S9 for xen-devel@lists.xensource.com; Fri, 01 Aug 2014 15:33:36 +0000 Received: from [85.158.139.211:60764] by server-7.bemta-5.messagelabs.com id C6/D9-30869-053BBD35; Fri, 01 Aug 2014 15:33:36 +0000 X-Env-Sender: Stefano.Stabellini@citrix.com X-Msg-Ref: server-15.tower-206.messagelabs.com!1406907213!8012963!2 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 3894 invoked from network); 1 Aug 2014 15:33:35 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-15.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 1 Aug 2014 15:33:35 -0000 X-IronPort-AV: E=Sophos;i="5.01,780,1400025600"; d="scan'208";a="158505084" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.3.181.6; Fri, 1 Aug 2014 11:33:32 -0400 Received: from kaball.uk.xensource.com ([10.80.2.59]) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from ) id 1XDEpj-0005vC-DO; Fri, 01 Aug 2014 16:33:27 +0100 From: Stefano Stabellini To: Date: Fri, 1 Aug 2014 16:32:19 +0100 Message-ID: <1406907139-16800-3-git-send-email-stefano.stabellini@eu.citrix.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 X-DLP: MIA1 Cc: Ian.Jackson@eu.citrix.com, Ian.Campbell@citrix.com, Stefano Stabellini Subject: [Xen-devel] [PATCH v4 3/3] enable QEMU for ARM builds X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: stefano.stabellini@eu.citrix.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 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 List-Archive: Build qemu-xen on ARM and ARM64: it is used to provide the PV backends, disk and framebuffer in particular. Ideally we would also modify the configure options to only build what is necessary: a machine just for PV backends. However that is a work in progress and not yet available in QEMU (see http://marc.info/?l=qemu-devel&m=139082425718379&w=2). So we just build the usual i386 target, even though no i386 emulation is going to be done by qemu-xen on ARM. Signed-off-by: Stefano Stabellini diff --git a/tools/configure b/tools/configure index a4aa8f1..ae60824 100755 --- a/tools/configure +++ b/tools/configure @@ -3876,6 +3876,8 @@ else case "$host_cpu" in i[3456]86|x86_64) qemu_xen=y;; + arm*|aarch64) + qemu_xen=y;; *) qemu_xen=n;; esac diff --git a/tools/configure.ac b/tools/configure.ac index 629d6a0..c595233 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -132,6 +132,8 @@ AC_ARG_WITH([system-qemu], case "$host_cpu" in i[[3456]]86|x86_64) qemu_xen=y;; + arm*|aarch64) + qemu_xen=y;; *) qemu_xen=n;; esac ])