Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp372462pxm; Fri, 25 Feb 2022 09:34:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxd7n80N85YEm1QnNK2Xjdx9FFY3EKlinRpM5XPiUsmQuOhvjxbXJeIJoeArDYL6crdj+Bm X-Received: by 2002:a65:644f:0:b0:375:6899:87db with SMTP id s15-20020a65644f000000b00375689987dbmr6990330pgv.112.1645810495855; Fri, 25 Feb 2022 09:34:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645810495; cv=none; d=google.com; s=arc-20160816; b=aS5C+m+d2+JmIaoGA3pCBxqw4ulK2kAe10jQ6fSILpys090NAQiU7S1VvoCVd7Yxl/ WifLIlxHHWr0wagfEuwJnLkAit4ui3YisuPrU4fDrGZ5WVNC2yQ5jT6kDIhU/HV0L/Gr iSwzfbLiCKuZ4wPcm98eOSzAYU8WDf3V4PrKkVS2zSUIJFsKsq5Gac43wgvU90OvIgme +JnFmlNxoS8bmoFCJkelD9TlH0ej6GmBS+/8dHD/F9Cp1mZ4mwKFv8FK1IEy01B7H8c6 HlJKVkzXw/+NnxOp9OW5mYlkv0ql88ct2Gqn7gqn6ZDrNQF52RDGXLMlJIAmqEMoihec L3EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=zufo2VqoW12ZsZWjP7rvFxXLnq5dHqI9qda+WDGbeVc=; b=fgyNLOi5jln/T57nUycoJT/XYg9wwJua4nXBy2v2cFIbB1UV4fH1iU+kXI+aYqZfhH ChZBzpO3eNImBr6VrHLPWreT+sBg+K4Qmi9ddKPnVwrpjLh8C8mq/qLirtq/6TTtIit9 3mHhoUfJyKfBoh6zRVddKnxLnYipWe3wVym0z7AWJbKZ8hcUA8nJI44BQS1W+vQEYuH1 WatdZ9HjaKMFJgENhPrtotrDv6gFZoJPQvm1XNOO1cmS8kvxjw0f4yOqPu43+rFTRsJ+ FBdEILsmE4KXerH1UaU3JRgJO/V/m8L/HCm2bnuHETh0xegLwTN+VDE1LflGk1u/fHH4 2mWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=LH3E8N31; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b10-20020a65578a000000b00372e859b325si2376995pgr.565.2022.02.25.09.34.31; Fri, 25 Feb 2022 09:34:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=LH3E8N31; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239396AbiBYPik (ORCPT + 99 others); Fri, 25 Feb 2022 10:38:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236500AbiBYPij (ORCPT ); Fri, 25 Feb 2022 10:38:39 -0500 Received: from smtp-fw-9102.amazon.com (smtp-fw-9102.amazon.com [207.171.184.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D907F14F2A6; Fri, 25 Feb 2022 07:38:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1645803487; x=1677339487; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=zufo2VqoW12ZsZWjP7rvFxXLnq5dHqI9qda+WDGbeVc=; b=LH3E8N31LzI0vBMcwEQnj77bqKXOwFg2SK2cqy2Axa87s6jvM0GgadPN LUpLCWB13QUkYPzPJXgx02xEPz5Bha1NbnBkxdfAZv4XT2JJCo0DG8Kei h7swsUR4lDGXKc0/4BaBEDwL4224I1Kr8z/LAakbv38WPNh+SXt+aRW04 8=; X-IronPort-AV: E=Sophos;i="5.90,136,1643673600"; d="scan'208";a="197753896" Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-pdx-2a-6435a935.us-west-2.amazon.com) ([10.25.36.214]) by smtp-border-fw-9102.sea19.amazon.com with ESMTP; 25 Feb 2022 15:37:52 +0000 Received: from EX13MTAUWC002.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-pdx-2a-6435a935.us-west-2.amazon.com (Postfix) with ESMTPS id DD055418D1; Fri, 25 Feb 2022 15:37:51 +0000 (UTC) Received: from EX13D20UWC001.ant.amazon.com (10.43.162.244) by EX13MTAUWC002.ant.amazon.com (10.43.162.240) with Microsoft SMTP Server (TLS) id 15.0.1497.28; Fri, 25 Feb 2022 15:37:51 +0000 Received: from [0.0.0.0] (10.43.161.217) by EX13D20UWC001.ant.amazon.com (10.43.162.244) with Microsoft SMTP Server (TLS) id 15.0.1497.28; Fri, 25 Feb 2022 15:37:45 +0000 Message-ID: Date: Fri, 25 Feb 2022 16:37:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork To: "Jason A. Donenfeld" , Ard Biesheuvel , CC: KVM list , Linux Crypto Mailing List , , "Linux Kernel Mailing List" , , =?UTF-8?Q?Daniel_P=2e_Berrang=c3=a9?= , "Colm MacCarthaigh" , Dexuan Cui , "Woodhouse, David" , Eric Biggers , Eduardo Habkost , Greg Kroah-Hartman , Haiyang Zhang , "Igor Mammedov" , Jann Horn , KY Srinivasan , Laszlo Ersek , Dominik Brodowski , "Michael S. Tsirkin" , "QEMU Developers" , "Weiss, Radu" , Stephen Hemminger , "Theodore Y. Ts'o" , Wei Liu References: <20220225124848.909093-1-Jason@zx2c4.com> <05c9f2a9-accb-e0de-aac7-b212adac7eb2@amazon.com> <88ebdc32-2e94-ef28-37ed-1c927c12af43@amazon.com> <9ac68552-c1fc-22c8-13e6-4f344f85a4fb@amazon.com> From: Alexander Graf In-Reply-To: X-Originating-IP: [10.43.161.217] X-ClientProxiedBy: EX13D15UWA003.ant.amazon.com (10.43.160.182) To EX13D20UWC001.ant.amazon.com (10.43.162.244) Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Ck9uIDI1LjAyLjIyIDE2OjM0LCBKYXNvbiBBLiBEb25lbmZlbGQgd3JvdGU6Cj4gT24gRnJpLCBG ZWIgMjUsIDIwMjIgYXQgMDQ6MTY6MjdQTSArMDEwMCwgQXJkIEJpZXNoZXV2ZWwgd3JvdGU6Cj4+ Pj4gSSBqdXN0IGJvb3RlZC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