From patchwork Thu Nov 28 13:33:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 21834 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1732424008 for ; Thu, 28 Nov 2013 13:33:30 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id ht17sf18596546vcb.10 for ; Thu, 28 Nov 2013 05:33:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=Y3zk779mXiZLqR7I2tIXVsBDupZORWefr4ukhcrWxVI=; b=VT6MBn4RzxxsmDZUU3VgqAn9YPRV1OT2De10oqL7fCe3RAwpEERFXXkR3r9QFh3uoh MN6Suoq9UlTXnsKwXdg/WlBncGFjVvf8Go6SDsXBAIvfSS9oaZuIsWhKsdwJ2quWHpM3 gLTmi/pmvg85RaGwwzMplqG3kWadGfuP4MCGxOyAwJZxWHH729Iz2iCdRyqAUKzGDOQw wevVowqSZN41k4ndHbKbW+BVXvhMqcmsHRfxhHjljsq9tzlPmtoM9nRb8m/xokN5zUaK QFpNmnHCSyKMiwm3Jo0eJpd/E6/kxIMppShFan7mlTd5Hy8cCsFC2/SbT6wzZfxPW1HR t46g== X-Gm-Message-State: ALoCoQlmQUvJQxp1XNaBB1xRQKxW8/j3su0yvQ3HCQdPqLhrKMbbES8oCFNSp3+x1jh5sr2IjKgK X-Received: by 10.236.163.67 with SMTP id z43mr20614424yhk.27.1385645609669; Thu, 28 Nov 2013 05:33:29 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.12.176 with SMTP id z16ls3452379qeb.16.gmail; Thu, 28 Nov 2013 05:33:29 -0800 (PST) X-Received: by 10.58.67.168 with SMTP id o8mr15100639vet.22.1385645609591; Thu, 28 Nov 2013 05:33:29 -0800 (PST) Received: from mail-vb0-f51.google.com (mail-vb0-f51.google.com [209.85.212.51]) by mx.google.com with ESMTPS id gq10si22891213vdc.4.2013.11.28.05.33.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Nov 2013 05:33:29 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.51 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.51; Received: by mail-vb0-f51.google.com with SMTP id m10so5760252vbh.24 for ; Thu, 28 Nov 2013 05:33:29 -0800 (PST) X-Received: by 10.52.168.4 with SMTP id zs4mr72693vdb.59.1385645609497; Thu, 28 Nov 2013 05:33:29 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp15917vcz; Thu, 28 Nov 2013 05:33:29 -0800 (PST) X-Received: by 10.204.162.74 with SMTP id u10mr166241bkx.121.1385645606493; Thu, 28 Nov 2013 05:33:26 -0800 (PST) Received: from mnementh.archaic.org.uk (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id le2si13672616bkb.202.2013.11.28.05.33.25 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 28 Nov 2013 05:33:26 -0800 (PST) Received-SPF: neutral (google.com: 2001:8b0:1d0::1 is neither permitted nor denied by best guess record for domain of pm215@archaic.org.uk) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1Vm1ic-0004rj-TK; Thu, 28 Nov 2013 13:33:22 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, kvmarm@lists.cs.columbia.edu, "Mian M. Hamayun" , afaerber@suse.de, agraf@suse.de Subject: [PATCH 4/7] configure: Enable KVM for aarch64 host/target combination Date: Thu, 28 Nov 2013 13:33:19 +0000 Message-Id: <1385645602-18662-5-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1385645602-18662-1-git-send-email-peter.maydell@linaro.org> References: <1385645602-18662-1-git-send-email-peter.maydell@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.51 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Enable KVM if the host and target CPU are both aarch64. Note that host aarch64 + target arm is not valid for KVM acceleration: the 64 bit kernel does not support the ioctl interface for 32 bit CPUs. 32 bit VMs on 64 bit hosts need to be created using the 64 bit ioctl interface; when QEMU supports this it will be on the arch64-softmmu target with a -cpu parameter for a 32 bit CPU, which is still an aarch64/aarch64 combination as far as configure is concerned. Signed-off-by: Peter Maydell Reviewed-by: Christoffer Dall --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 508f6a5..3317013 100755 --- a/configure +++ b/configure @@ -4513,7 +4513,7 @@ case "$target_name" in *) esac case "$target_name" in - arm|i386|x86_64|ppcemb|ppc|ppc64|s390x) + aarch64|arm|i386|x86_64|ppcemb|ppc|ppc64|s390x) # Make sure the target and host cpus are compatible if test "$kvm" = "yes" -a "$target_softmmu" = "yes" -a \ \( "$target_name" = "$cpu" -o \