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=-5.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 08BD8C433B4 for ; Thu, 1 Apr 2021 08:37:55 +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 4DC56610A0 for ; Thu, 1 Apr 2021 08:37:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4DC56610A0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:34268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRspt-0004ul-6F for qemu-devel@archiver.kernel.org; Thu, 01 Apr 2021 04:37:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRsoM-00041u-58 for qemu-devel@nongnu.org; Thu, 01 Apr 2021 04:36:18 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:53007) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRsoJ-0004SW-1C for qemu-devel@nongnu.org; Thu, 01 Apr 2021 04:36:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617266173; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TkNvy7gtKB4wajLYixwjS2U8AcHfs41D3/4sSI+1nyY=; b=ix97gCcNd0y5WrOJZi5AEngMCVw6LlR8Gjd9mPBOLS0mAY0DxjhyxEEzssFSPihaPd2BeT ZioYGXD/+MKaoSpqid0TlQSu97YOJ9N0z/DJFQcPs75ZJ0Sk7xx9Ak/2auUYmnA6lJ4xpJ zRhz5P9OirAAZnvKrzH+KTRclYLjX78= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-300-Hh_LxbAYN7mCgzhVp4hUXw-1; Thu, 01 Apr 2021 04:36:10 -0400 X-MC-Unique: Hh_LxbAYN7mCgzhVp4hUXw-1 Received: by mail-ed1-f72.google.com with SMTP id k8so2468584edn.19 for ; Thu, 01 Apr 2021 01:36:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TkNvy7gtKB4wajLYixwjS2U8AcHfs41D3/4sSI+1nyY=; b=DU69X7EjstoMPJtNdG0ti/4DYcCDGwMM3+fxf58Sqrt+XxibbrG29qMUXldXuRkeLO arG1Tx2B/68gvqkbznEnIL+EHyBpu8xoCTcP8Ho17EM7pmZqExS7vF56zW3iP+4sWzc2 NbKLmBn4uSP+oIIlhIEDvSjGflThTeICbysJuDB8pMvWhLYUaTG2jar9fI4vQEHYkZL7 oMtmQddyJG+e36pA2C+oatPgC+BOJASvu3I/gBRYHfZTXxtTCBx0YNx7VpcVK7Ou11Cd Qk6WPB15fxDCCPUkYWKORruRuIc7DtjD6XSgnQjE0XCt2rXbDStKWL7Qp0cLhdY28Irq IBsw== X-Gm-Message-State: AOAM5323TaX6lFezs3pmD7tS0NNxaURGTjynipj7xQId/3tCijjLADUX QJVpjcMcFeYh1fFg/HTw0jRXZVRotgxeoXVES/5aEX44ZbOl+00UUUfwYjk+lDJ3azjWpjprNsB Xd3/hSmH6pI9IM14= X-Received: by 2002:a17:906:fc1c:: with SMTP id ov28mr7940923ejb.342.1617266169317; Thu, 01 Apr 2021 01:36:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUXUJQla7WVN2HSAwWwyb9gOSD6IMsjTjkVf/X7UupaK7ubpj6UpUgxx17jjqBqXu881sm8g== X-Received: by 2002:a17:906:fc1c:: with SMTP id ov28mr7940909ejb.342.1617266169124; Thu, 01 Apr 2021 01:36:09 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id n16sm3190901edr.42.2021.04.01.01.36.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Apr 2021 01:36:08 -0700 (PDT) Subject: Re: [PATCH v6 0/4] Implements the NetBSD Virtual Machine Monitor accelerator To: Reinoud Zandijk , qemu-devel@nongnu.org References: <20210331200800.24168-1-reinoud@NetBSD.org> From: Paolo Bonzini Message-ID: Date: Thu, 1 Apr 2021 10:36:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <20210331200800.24168-1-reinoud@NetBSD.org> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pbonzini@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: Kamil Rytarowski , Ryo ONODERA , Richard Henderson , Eduardo Habkost Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 31/03/21 22:07, Reinoud Zandijk wrote: > The NetBSD team has been working hard on a new user-mode API for our > hypervisor that will be released as part of the upcoming NetBSD 9.0. > > The NetBSD team has implemented its new hypervisor called NVMM. It has been > included since NetBSD 9.0 and has been in use now for quite some time. NVMM > adds user-mode capabilities to create and manage virtual machines, configure > memory mappings for guest machines, and create and control execution of > virtual processors. > > With this new API we are now able to bring our hypervisor to the QEMU > community! The following patches implement the NetBSD Virtual Machine Monitor > accelerator (NVMM) for QEMU on NetBSD 9.0 and newer hosts. > > When compiling QEMU for x86_64 it will autodetect nvmm and will compile the > accelerator for use if found. At runtime using the '-accel nvmm' should see a > significant performance improvement over emulation, much like when using 'hax' > on NetBSD. > > The documentation for this new API is visible at https://man.netbsd.org under > the libnvmm(3) and nvmm(4) pages. > > NVMM was designed and implemented by Maxime Villard > > Thank you for your feedback. Very nice. Just a couple remarks but nothing too serious. Paolo