From patchwork Thu Apr 25 18:55:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 10917629 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6C64F1398 for ; Thu, 25 Apr 2019 18:55:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F01428B05 for ; Thu, 25 Apr 2019 18:55:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 511BF28BA6; Thu, 25 Apr 2019 18:55:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B4D628B05 for ; Thu, 25 Apr 2019 18:55:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728407AbfDYSzW (ORCPT ); Thu, 25 Apr 2019 14:55:22 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:60287 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725900AbfDYSzV (ORCPT ); Thu, 25 Apr 2019 14:55:21 -0400 Received: from localhost ([127.0.0.1] helo=flow.W.breakpoint.cc) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1hJjWg-0007w2-Hm; Thu, 25 Apr 2019 20:55:18 +0200 From: Sebastian Andrzej Siewior To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: "Michael S. Tsirkin" , Paolo Bonzini , =?utf-8?b?UmFkaW0gS3LEjW3DocWZ?= , tglx@linutronix.de, Sebastian Andrzej Siewior Subject: [PATCH] kvm_config: Enable HW_RANDOM_VIRTIO Date: Thu, 25 Apr 2019 20:55:13 +0200 Message-Id: <20190425185513.16943-1-bigeasy@linutronix.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable the HW random generator for kvm configs. Speeds up the initialisation of the random pool which is used by the getrandom() syscall. Signed-off-by: Sebastian Andrzej Siewior --- kernel/configs/kvm_guest.config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/configs/kvm_guest.config b/kernel/configs/kvm_guest.config index 208481d910903..27eef024169f0 100644 --- a/kernel/configs/kvm_guest.config +++ b/kernel/configs/kvm_guest.config @@ -32,3 +32,5 @@ CONFIG_SCSI_LOWLEVEL=y CONFIG_SCSI_VIRTIO=y CONFIG_VIRTIO_INPUT=y CONFIG_DRM_VIRTIO_GPU=y +CONFIG_HW_RANDOM=y +CONFIG_HW_RANDOM_VIRTIO=y