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=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 4B7ABC433DB for ; Tue, 23 Feb 2021 09:45:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1F2DB60238 for ; Tue, 23 Feb 2021 09:45:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231478AbhBWJpK (ORCPT ); Tue, 23 Feb 2021 04:45:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231347AbhBWJor (ORCPT ); Tue, 23 Feb 2021 04:44:47 -0500 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ECFFC06178A for ; Tue, 23 Feb 2021 01:44:07 -0800 (PST) Received: by mail-io1-xd2c.google.com with SMTP id n14so16423192iog.3 for ; Tue, 23 Feb 2021 01:44:07 -0800 (PST) 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=JdsAw7/h4oboN/mNZWenmJqgLQu48+ys8E7jatHzI40=; b=puP4kCuFBTo4v5DZgeEJWwQTGfOd7XkA27KZA4hQlu3hZHrqqSMbPiOMp43dA9ZklD 7/zp1hsnkE/ICFEoYgwACZK8M3iyXtvougYwA2yUfVEduBDH5Pik7MGMloLRaURIuWgI boqjpT80BC6CT2uXNTxnnJ1SdnZsn2BXh3v9LutgLhtjEFIYxUoEaTZXh/XBcsugeyJ2 bbtBDGYcXJvU3Gl37zdWSTfqYGc4saEW5WjRDVooGTgcPY36SXpvsJucUSACU7sZ1lf+ 6OmCKY88AsekH1kCYT6TK47LeRR/OAsfFKpKNrV4SgsT2A52fSNDI43ix3W44/Lk78/T UD7Q== 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=JdsAw7/h4oboN/mNZWenmJqgLQu48+ys8E7jatHzI40=; b=B4xpZeYYqalwx4Z6HwEAPQGNsXhc3MAOJ44fSh3WGu1rFn8nhIlyVvCS/g075uKvLs 1OxLU8DRpmWF6dQVD9KxXi1pmTJ/7Yph/K7AUhIHwzDVB0wjowpXHdMMLSai3zes++MY ZlmGROdtSIAx1DG8YMpMQv5EhV5M73YKxsOoAjy74eVSmIXt+5BgNcGOMgiAwp+SpMea gdisHlbV7EONZu3T8tHN0iul3GyfZqbcfNBHZoB7rO1K2joAfKw5/W0LlUQdK/I/nYV1 UIDy4Mt9aJp5Jz9wDeQRZMObVkki0jDUEnr/VRYd7ILA+JGzdVzDEQWZzQeK4FLBwDw5 3g7w== X-Gm-Message-State: AOAM530qf6DgIUYhWygFuWmdsQQALSCJzP2jefOk0foRaa35iBAjVzwR heRBdbk7RhMJ43xtMIxNTFe/blTcQqwi3pGyIS60 X-Google-Smtp-Source: ABdhPJxu7RAynJq/1YTWqpI2BlKM2eHwZ1Ujeu1UDzeF/fK9xbZydWwxuIQobx87wJ9t28WDVeFaIgtnt7UTDt91xHA= X-Received: by 2002:a5e:9612:: with SMTP id a18mr18931244ioq.13.1614073446969; Tue, 23 Feb 2021 01:44:06 -0800 (PST) MIME-Version: 1.0 References: <20201210160002.1407373-1-maz@kernel.org> <87blcis5ua.wl-maz@kernel.org> In-Reply-To: <87blcis5ua.wl-maz@kernel.org> From: Haibo Xu Date: Tue, 23 Feb 2021 17:43:54 +0800 Message-ID: Subject: Re: [PATCH v3 00/66] KVM: arm64: ARMv8.3/8.4 Nested Virtualization support To: Marc Zyngier Cc: arm-mail-list , kvmarm , kvm@vger.kernel.org, kernel-team@android.com, Andre Przywara Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Thu, 18 Feb 2021 at 06:10, Marc Zyngier wrote: > > On Thu, 04 Feb 2021 07:51:37 +0000, > Haibo Xu wrote: > > > > Kindly ping! > > > > On Thu, 21 Jan 2021 at 11:03, Haibo Xu wrote: > > > > > > Re-send in case the previous email was blocked for the inlined hyper-link. > > > > > > Hi Marc, > > > > > > I have tried to enable the NV support in Qemu, and now I can > > > successfully boot a L2 guest > > > in Qemu KVM mode. > > > > > > This patch series looks good from the Qemu side except for two minor > > > requirements: > > > (1) Qemu will check whether a feature was supported by the KVM cap > > > when the user tries to enable it in the command line, so a new > > > capability was prefered for the NV(KVM_CAP_ARM_NV?). > > I have added KVM_CAP_ARM_EL2 (rather than NV) to that effect. > > > > (2) According to the Documentation/virt/kvm/api.rst, userspace can > > > call KVM_ARM_VCPU_INIT multiple times for a given vcpu, but the > > > kvm_vcpu_init_nested() do have some issue when called multiple > > > times(please refer to the detailed comments in patch 63) > > This is now fixed, I believe. > > I have pushed out a branch [1] that addresses all the reported > issues, though it currently lack some testing. Please let me know if > it works for you. > Hi Marc, I have verified the fix, and it works well with Qemu. thanks, Haibo > Thanks, > > M. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=kvm-arm64/nv-5.12-WIP > > -- > Without deviation from the norm, progress is not possible. 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=-8.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 4AB0CC433E0 for ; Tue, 23 Feb 2021 09:44:13 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 89C5764E02 for ; Tue, 23 Feb 2021 09:44:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 89C5764E02 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvmarm-bounces@lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id D998E4B1C0; Tue, 23 Feb 2021 04:44:11 -0500 (EST) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@linaro.org Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G0Fi2ZxQjTgt; Tue, 23 Feb 2021 04:44:10 -0500 (EST) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id B96E44B1C7; Tue, 23 Feb 2021 04:44:10 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id AA80D4B1B1 for ; Tue, 23 Feb 2021 04:44:08 -0500 (EST) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z1ZcYQ4tP4bk for ; Tue, 23 Feb 2021 04:44:07 -0500 (EST) Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 973E04B092 for ; Tue, 23 Feb 2021 04:44:07 -0500 (EST) Received: by mail-io1-f51.google.com with SMTP id y202so16416076iof.1 for ; Tue, 23 Feb 2021 01:44:07 -0800 (PST) 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=JdsAw7/h4oboN/mNZWenmJqgLQu48+ys8E7jatHzI40=; b=puP4kCuFBTo4v5DZgeEJWwQTGfOd7XkA27KZA4hQlu3hZHrqqSMbPiOMp43dA9ZklD 7/zp1hsnkE/ICFEoYgwACZK8M3iyXtvougYwA2yUfVEduBDH5Pik7MGMloLRaURIuWgI boqjpT80BC6CT2uXNTxnnJ1SdnZsn2BXh3v9LutgLhtjEFIYxUoEaTZXh/XBcsugeyJ2 bbtBDGYcXJvU3Gl37zdWSTfqYGc4saEW5WjRDVooGTgcPY36SXpvsJucUSACU7sZ1lf+ 6OmCKY88AsekH1kCYT6TK47LeRR/OAsfFKpKNrV4SgsT2A52fSNDI43ix3W44/Lk78/T UD7Q== 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=JdsAw7/h4oboN/mNZWenmJqgLQu48+ys8E7jatHzI40=; b=deeXslx7nKHKgray3PHtV5tSn+wULiMB5bdVW+zNDS7SBOTHGE7E+5Z8s0aSAaKi59 ALjCpfm6JEuhkguvaA1lviRa5LR0lH9SGEhivjayV0aZ0hjZzOO7jENCWfODPPQiaFWs jPDfIdne4pzhkvOI6MLRMlTTTl432nl3iODkvbkPZOnUpjlocojodeO7HR3/5SFNENIT t9X55kmqkxKZlYML+27v2DsUpCO/q3/LWBeoNvpuiEYLZONclT2r6xr2pHMq0aSjTmcO SeyrpW69JbgG2IbtYBPHjFKB4IpNCEjkOTy4hnJSqiVF5fKVW+1KQhvOdNkvEL8ogaHH W3kw== X-Gm-Message-State: AOAM532bHQP31A7OJT9GdeLRejyi3NWJhMnbO0+Q5EoHPj8XGUXeRrzJ tvIlP6ssulHFuRY4Ak0qnjfenksyV0RCxEGNb8YE X-Google-Smtp-Source: ABdhPJxu7RAynJq/1YTWqpI2BlKM2eHwZ1Ujeu1UDzeF/fK9xbZydWwxuIQobx87wJ9t28WDVeFaIgtnt7UTDt91xHA= X-Received: by 2002:a5e:9612:: with SMTP id a18mr18931244ioq.13.1614073446969; Tue, 23 Feb 2021 01:44:06 -0800 (PST) MIME-Version: 1.0 References: <20201210160002.1407373-1-maz@kernel.org> <87blcis5ua.wl-maz@kernel.org> In-Reply-To: <87blcis5ua.wl-maz@kernel.org> From: Haibo Xu Date: Tue, 23 Feb 2021 17:43:54 +0800 Message-ID: Subject: Re: [PATCH v3 00/66] KVM: arm64: ARMv8.3/8.4 Nested Virtualization support To: Marc Zyngier Cc: Andre Przywara , kernel-team@android.com, kvmarm , arm-mail-list , kvm@vger.kernel.org X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu On Thu, 18 Feb 2021 at 06:10, Marc Zyngier wrote: > > On Thu, 04 Feb 2021 07:51:37 +0000, > Haibo Xu wrote: > > > > Kindly ping! > > > > On Thu, 21 Jan 2021 at 11:03, Haibo Xu wrote: > > > > > > Re-send in case the previous email was blocked for the inlined hyper-link. > > > > > > Hi Marc, > > > > > > I have tried to enable the NV support in Qemu, and now I can > > > successfully boot a L2 guest > > > in Qemu KVM mode. > > > > > > This patch series looks good from the Qemu side except for two minor > > > requirements: > > > (1) Qemu will check whether a feature was supported by the KVM cap > > > when the user tries to enable it in the command line, so a new > > > capability was prefered for the NV(KVM_CAP_ARM_NV?). > > I have added KVM_CAP_ARM_EL2 (rather than NV) to that effect. > > > > (2) According to the Documentation/virt/kvm/api.rst, userspace can > > > call KVM_ARM_VCPU_INIT multiple times for a given vcpu, but the > > > kvm_vcpu_init_nested() do have some issue when called multiple > > > times(please refer to the detailed comments in patch 63) > > This is now fixed, I believe. > > I have pushed out a branch [1] that addresses all the reported > issues, though it currently lack some testing. Please let me know if > it works for you. > Hi Marc, I have verified the fix, and it works well with Qemu. thanks, Haibo > Thanks, > > M. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=kvm-arm64/nv-5.12-WIP > > -- > Without deviation from the norm, progress is not possible. _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm 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=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 C5C19C433DB for ; Tue, 23 Feb 2021 09:45:33 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 5E69864E02 for ; Tue, 23 Feb 2021 09:45:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E69864E02 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EdYb0/TKhh5LzaEW6m6FyszlMLfM8ygBcfiRnAEM+Ms=; b=Y7i0TAdCfeL3mqznmEPKo8UjR C5LMchHqBZ7L8gRpKQgpGsevUx1O2jqGQKlyl8MhAXo9anBdl0gHCFGL80sd5L6tPOH5eiecwZy2F qQI0jMPq0fK+kdR9PhAiOON3w4KF5ruGXj5KakyTdtEbJhr0gug/9SA7z6OP6FMQi0D8oxmrmWfpu T/VgCVY9Q3jc5HhWM3nodl5Uh2hdzwINP6mjuiotP5EFQ0TML59Wkd1YiNCQ0SBw+6egGZQwQA3ll 9w3sXlCzv2plvB/LEOp/Z4iA+jcSaXLey4fuABLpvf8VmBJG6LGG+DRgt9ZPR3cIauOB39XAvPyWw upw78qBaw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEUEp-0004SL-MQ; Tue, 23 Feb 2021 09:44:15 +0000 Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEUEl-0004Rl-MD for linux-arm-kernel@lists.infradead.org; Tue, 23 Feb 2021 09:44:12 +0000 Received: by mail-io1-xd2c.google.com with SMTP id u20so16389881iot.9 for ; Tue, 23 Feb 2021 01:44:08 -0800 (PST) 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=JdsAw7/h4oboN/mNZWenmJqgLQu48+ys8E7jatHzI40=; b=puP4kCuFBTo4v5DZgeEJWwQTGfOd7XkA27KZA4hQlu3hZHrqqSMbPiOMp43dA9ZklD 7/zp1hsnkE/ICFEoYgwACZK8M3iyXtvougYwA2yUfVEduBDH5Pik7MGMloLRaURIuWgI boqjpT80BC6CT2uXNTxnnJ1SdnZsn2BXh3v9LutgLhtjEFIYxUoEaTZXh/XBcsugeyJ2 bbtBDGYcXJvU3Gl37zdWSTfqYGc4saEW5WjRDVooGTgcPY36SXpvsJucUSACU7sZ1lf+ 6OmCKY88AsekH1kCYT6TK47LeRR/OAsfFKpKNrV4SgsT2A52fSNDI43ix3W44/Lk78/T UD7Q== 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=JdsAw7/h4oboN/mNZWenmJqgLQu48+ys8E7jatHzI40=; b=TLn7HRpwW8U6Kimp1tUsAn1psmDkqnfQyj435EoZX7NU0ODLqmm9pd4BHERwBLLf/y wz+8SPAQZpEq/6yDTMPoTnMLMM4Gz8l8hrtR0a/ucN2sVQRSPBVhakcsOfQvGQR3UFf1 VDMHDStGyU3cUImyGT7oJ0aXZzaWpZhoBPKixBMa0EBoI9p7a1WLfNlRBtm6jZP6SB2w KKALJZ9DbxwoPm5Bimow90t5tOtXMgsoGSnZKcHrBwhp2jGJLH51iAbhtkmn4oixVtXK V7ofIOaRUSB7zUokgUJRdldPAY9KAtQZ8sKt7dG+idoU0eEksEF/aH3mtQCL3ueYHRYd 9wjQ== X-Gm-Message-State: AOAM532YfhxvbTcy6dPoNTM5QHrcV6Y/KEMKeF7c3JRQmg2SnvP5tQEB qP5ROPpvt/Emp2Z/U5lzV6uzUVTnDhKBh+3qVGrp X-Google-Smtp-Source: ABdhPJxu7RAynJq/1YTWqpI2BlKM2eHwZ1Ujeu1UDzeF/fK9xbZydWwxuIQobx87wJ9t28WDVeFaIgtnt7UTDt91xHA= X-Received: by 2002:a5e:9612:: with SMTP id a18mr18931244ioq.13.1614073446969; Tue, 23 Feb 2021 01:44:06 -0800 (PST) MIME-Version: 1.0 References: <20201210160002.1407373-1-maz@kernel.org> <87blcis5ua.wl-maz@kernel.org> In-Reply-To: <87blcis5ua.wl-maz@kernel.org> From: Haibo Xu Date: Tue, 23 Feb 2021 17:43:54 +0800 Message-ID: Subject: Re: [PATCH v3 00/66] KVM: arm64: ARMv8.3/8.4 Nested Virtualization support To: Marc Zyngier X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210223_044412_003822_BFD85ACD X-CRM114-Status: GOOD ( 20.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andre Przywara , kernel-team@android.com, kvmarm , arm-mail-list , kvm@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 18 Feb 2021 at 06:10, Marc Zyngier wrote: > > On Thu, 04 Feb 2021 07:51:37 +0000, > Haibo Xu wrote: > > > > Kindly ping! > > > > On Thu, 21 Jan 2021 at 11:03, Haibo Xu wrote: > > > > > > Re-send in case the previous email was blocked for the inlined hyper-link. > > > > > > Hi Marc, > > > > > > I have tried to enable the NV support in Qemu, and now I can > > > successfully boot a L2 guest > > > in Qemu KVM mode. > > > > > > This patch series looks good from the Qemu side except for two minor > > > requirements: > > > (1) Qemu will check whether a feature was supported by the KVM cap > > > when the user tries to enable it in the command line, so a new > > > capability was prefered for the NV(KVM_CAP_ARM_NV?). > > I have added KVM_CAP_ARM_EL2 (rather than NV) to that effect. > > > > (2) According to the Documentation/virt/kvm/api.rst, userspace can > > > call KVM_ARM_VCPU_INIT multiple times for a given vcpu, but the > > > kvm_vcpu_init_nested() do have some issue when called multiple > > > times(please refer to the detailed comments in patch 63) > > This is now fixed, I believe. > > I have pushed out a branch [1] that addresses all the reported > issues, though it currently lack some testing. Please let me know if > it works for you. > Hi Marc, I have verified the fix, and it works well with Qemu. thanks, Haibo > Thanks, > > M. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=kvm-arm64/nv-5.12-WIP > > -- > Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel