From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 2002:ac2:54ba:0:0:0:0:0 with SMTP id w26csp3372611lfk; Wed, 26 Jan 2022 06:02:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvL7+m/bQC80bebE2jMLcJDMcgA4QwUYbYe5wBcUjKTnRAbFDAs8qJYJW+LznSTzQWaunm X-Received: by 2002:ab0:a8c:: with SMTP id d12mr2963549uak.2.1643205753246; Wed, 26 Jan 2022 06:02:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643205753; cv=none; d=google.com; s=arc-20160816; b=UZ3Nh3UN1gyMeyH3hSJtKMZ4VrNJAoyl2nJ6ELuyafbMXzDKsl2pLm74/SBzLsko0O grRvw60hdPxeh/4b2QtfQc8mUDhGnr5GqiQQKNMdWZG6L2008pKt+ktvGqe5PBSh9Dxv NqQFCh2XSMDfDiOQrJTCwQdi2SA48eoKcqx++510TKeyKp4MBFRow/+2obaGTQlUqRhd eN52Seni1O3s99QZvL4+TGl53uBQ8cYH1OLjawBYTShzjd+c8vcGNfLvDCl1W/+baum/ mVNUauwG8FHD4X+rm/lN+sbbJM8ZJCKtHlXHPCRx1xMNJBgxf9WY+EPWd+8RIPGzPFLX yMMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :message-id:user-agent:references:in-reply-to:subject:to:from:date :mime-version:dkim-signature; bh=NqxAihP8OCZ61x4WFIPQumACu0oHwsfmI4WGM74mQhk=; b=xLoTVoSeEYBwo8s8dhXC/HbmBMEiyJlMvYYJPbaeqJgvh752vFVdvAAwYV9z8+CEvN wjU+UVcWtCZud2QJi11+S3iJK7FyGSpFiVGcQK1AT8D/SNXZzporHcZ+Z8IjIUQ8JQHS UJuRfmHz9og35L4BSYq7Tvk0qZfys/FZ1EVCY9/G/+TzVE8bAq+S9wOluo0MCXW2OGeA sy7CSj8M+t6puSqhJp4Uz2/jFbLXazUeJ8/k20zbyLRHOTMX2LJ+CM/gVKbtcQkwhX0y nbqGBiZwK/6XmQNySeOKzQd3hG7jX1rO8mGgKJqntac/o4I5XuRnINRwdAnUdrwBW6/e ageQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BCxbVTCB; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id i27si139220uat.46.2022.01.26.06.02.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Jan 2022 06:02:33 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BCxbVTCB; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from localhost ([::1]:48536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCisZ-0002Sz-KK for alex.bennee@linaro.org; Wed, 26 Jan 2022 09:02:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCif7-0003d0-BW; Wed, 26 Jan 2022 08:48:37 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:56334) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCif5-0000e5-O4; Wed, 26 Jan 2022 08:48:36 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3F5D361536; Wed, 26 Jan 2022 13:48:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A22DAC340E3; Wed, 26 Jan 2022 13:48:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643204905; bh=CBTX/eYcW33qRvFz0VC673VNcvSRdP9HNWAH2mQKI8A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=BCxbVTCBeJ+G2S/izyo2b3cD+FSurF0AcvvaLfEUE6UAAbM0Gw/wblplx/vwwNGNT 6RN67LdacaQSjuOOYfr2ORG+jvoM10gBatbuGYy6WNxAfAwKCQw0G5RpXPmHGuJ+OD KoCc6VTu7HOxSz3YCbefS+dps/qTdyO4PHTyFHffUgvHkXBbyq7aDtXhdWl5oClAc1 ndrzXXMRoJ5rQ3juQ0X3KuIDH0C2eblgYG1C1sQoNcw7+hwrnbmd8IJuGRhxR/ZXw5 Upgb8ZlAj3e6PLMV9HJZSiSg2F6aAHvO3xT+PxMJsqT8TRgkTrSioUwBnWh3zie+mw KUduEcTEjT0Iw== Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nCiet-003E9b-JL; Wed, 26 Jan 2022 13:48:23 +0000 MIME-Version: 1.0 Date: Wed, 26 Jan 2022 13:48:23 +0000 From: Marc Zyngier To: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= Subject: Re: Raspberry Pi? In-Reply-To: <1e98b4ec-3476-387c-9dda-99a13121e22f@amsat.org> References: <1e98b4ec-3476-387c-9dda-99a13121e22f@amsat.org> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <9864ab7ffce7f60d460051fa94f755c5@kernel.org> X-Sender: maz@kernel.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: f4bug@amsat.org, kennethadammiller@gmail.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Received-SPF: pass client-ip=139.178.84.217; envelope-from=maz@kernel.org; helo=dfw.source.kernel.org X-Spam_score_int: -72 X-Spam_score: -7.3 X-Spam_bar: ------- X-Spam_report: (-7.3 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.155, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kenneth Adam Miller , QEMU Developers , qemu-arm@nongnu.org Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: u0UjpLF5t/PF On 2022-01-26 02:59, Philippe Mathieu-Daudé via wrote: > Hi, > > On 26/1/22 00:59, Kenneth Adam Miller wrote: >> Hello all, >> >> I would like to emulate something on a pi so that I don't have to >> pay as high of a translation penalty since the guest and host will >> share the same arch. I'm finding that on some forums that people have >> been having trouble getting QEMU to run on raspberry pi. The posts are >> kind of old, in 2019. >> >> Does anyone know if this has been addressed since then? > > What you asks is if you can run an Aarch64 guest (virt machine?) on a > Raspi4 host, is that right? IIRC it should work straight away using > "-machine virt,gic-version=host". Cc'ing qemu-arm@ list to verify. Note that only a RPi-4 will provide any sort of performance, assuming the OP wants to use KVM as the acceleration backend. The original RPi has no support for virtualisation (ARM 1176), and the two following models are deprived of a GIC, making them a bit useless (we have *some* support code in KVM, but I'm pretty sure it has bitrot by now). M. -- Jazz is not dead. It just smells funny...