From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD65BC47096 for ; Thu, 3 Jun 2021 13:45:33 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9329F613E7 for ; Thu, 3 Jun 2021 13:45:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9329F613E7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:46812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lonfA-0003Cf-P2 for qemu-devel@archiver.kernel.org; Thu, 03 Jun 2021 09:45:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1londx-0001eC-Vg for qemu-devel@nongnu.org; Thu, 03 Jun 2021 09:44:18 -0400 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:33313) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1londv-0004lT-4d for qemu-devel@nongnu.org; Thu, 03 Jun 2021 09:44:17 -0400 Received: by mail-ej1-x633.google.com with SMTP id g20so9400796ejt.0 for ; Thu, 03 Jun 2021 06:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TC9g0iqOC8p+XUTGJIRxU6GkLkBrQqgYQSILnB1qmXs=; b=xZheecLFPfhJ4eQ1vlTEgB/v/KKU6PS7H0c9+svK8TGu7bFIzrFXh2O8at4NzoN+uu xuoylt8snmPA0erI71yzuHX+1ajRhscQ+4i1xJ91wq1P4Hh+UpsVTQt7AR2KMWpg/lxu oXzDC5SHd4tytLOwuN8XJxpEle65VcRLFFxRuPrVPD3fWVor3rNO1SLLiyw8L9aWf/9o b+qc8Hibv+4USbQ98EE+D7JST1bNBmYRNET8N7JhYpmpRghAmUJlEN7A/5AUlm06Hosk 3bvOpiphDbDi8sy2PW1qVBUA84UbRmG8ZK85MVtVLPqsTbS1cXwTRPdjtSz/PABVWR6X SHfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TC9g0iqOC8p+XUTGJIRxU6GkLkBrQqgYQSILnB1qmXs=; b=FBbewghAfSPUtjCcZLIqsia8zyJjU43r0LzuOC8r/fE0m30eSIPzDMcOIjSSkRi1Hm XyLvBEwxS8auZ+Gr9Qnfvm9qLmC2128uBJTxaEPD7glQ2scScH0OHLvAQHggbGlMOaf9 /ZEqBOVWoMqf4ddIuTUafdRXB/nInbh0deUr6i6L/y9MQqkZbrAuLX4TZl8/t+55mB5v dtC7xXARdr8KQWPXIG36gO48L51Vjh53EopoRekRBfg0zKbcGiXTLOgZ44w2FpLywvP8 q2Nj/RkTLxw64SqS90pCANlH/6s+4SykDgkyoGB/Ozbf9W/MqDCpuRiolEmaY8epKIAS 5hew== X-Gm-Message-State: AOAM532DBaABWkciFpivItumJayn1pMjbvUWLxVDfdwLI7VUJQwYdWC7 5XL70KDmDT8Lc25u+1RkXOb92jxz8YmYmfvlawC2CA== X-Google-Smtp-Source: ABdhPJxoAe+tMPgxSmi//jFJAUOd6buy4rmOdVOOAWhG4r0oaoEEfeLMuoeLSLglLsOK5zkm6KilXJuDd+OurYRnoOg= X-Received: by 2002:a17:906:5299:: with SMTP id c25mr23484136ejm.85.1622727853018; Thu, 03 Jun 2021 06:44:13 -0700 (PDT) MIME-Version: 1.0 References: <20210519202253.76782-1-agraf@csgraf.de> In-Reply-To: <20210519202253.76782-1-agraf@csgraf.de> From: Peter Maydell Date: Thu, 3 Jun 2021 14:43:39 +0100 Message-ID: Subject: Re: [PATCH v8 00/19] hvf: Implement Apple Silicon Support To: Alexander Graf Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=peter.maydell@linaro.org; helo=mail-ej1-x633.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eduardo Habkost , =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= , Richard Henderson , QEMU Developers , Cameron Esfahani , Roman Bolshakov , qemu-arm , Frank Yang , Paolo Bonzini , Peter Collingbourne Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Wed, 19 May 2021 at 21:22, Alexander Graf wrote: > > Now that Apple Silicon is widely available, people are obviously excited > to try and run virtualized workloads on them, such as Linux and Windows. > > This patch set implements a fully functional version to get the ball > going on that. With this applied, I can successfully run both Linux and > Windows as guests. I am not aware of any limitations specific to > Hypervisor.framework apart from: > > - Live migration / savevm > - gdbstub debugging (SP register) > - missing GICv3 support > Alexander Graf (18): > hvf: Move assert_hvf_ok() into common directory > hvf: Move vcpu thread functions into common directory > hvf: Move cpu functions into common directory > hvf: Move hvf internal definitions into common header > hvf: Make hvf_set_phys_mem() static > hvf: Remove use of hv_uvaddr_t and hv_gpaddr_t > hvf: Split out common code on vcpu init and destroy > hvf: Use cpu_synchronize_state() > hvf: Make synchronize functions static > hvf: Remove hvf-accel-ops.h > hvf: Introduce hvf vcpu struct > hvf: Simplify post reset/init/loadvm hooks I haven't had time to review the tail-end of this series yet, I'm afraid, but these first 12 patches are clearly all OK, so I'm going to put them into target-arm.next so that at least that refactoring part is in master and won't go stale. The last 7 patches are still on my todo list to review. thanks -- PMM