From: zx2c4 <zx2c4@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] linux5.18: set CONFIG_VMGENID to y rather than m
Date: Wed, 08 Jun 2022 11:18:43 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37444@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 994 bytes --]
There is a new pull request by zx2c4 against master on the void-packages repository
https://github.com/zx2c4-forks/void-packages vmgenid
https://github.com/void-linux/void-packages/pull/37444
linux5.18: set CONFIG_VMGENID to y rather than m
Quoting from the kernel's Kconfig file:
config VMGENID
tristate "Virtual Machine Generation ID driver"
default y
depends on ACPI
help
Say Y here to use the hypervisor-provided Virtual Machine Generation ID
to reseed the RNG when the VM is cloned. This is highly recommended if
you intend to do any rollback / cloning / snapshotting of VMs.
Prefer Y to M so that this protection is activated very early.
The recommendation and default value is Y over M. This commit changes
the linux5.18 package config to use the suggested value.
CC @leahneukirchen
A patch file from https://github.com/void-linux/void-packages/pull/37444.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vmgenid-37444.patch --]
[-- Type: text/x-diff, Size: 2373 bytes --]
From 1d1baeea63641ff49eac81f2c3b66966a24e7b1b Mon Sep 17 00:00:00 2001
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
Date: Wed, 8 Jun 2022 11:16:34 +0200
Subject: [PATCH] linux5.18: set CONFIG_VMGENID to y rather than m
Quoting from the kernel's Kconfig file:
config VMGENID
tristate "Virtual Machine Generation ID driver"
default y
depends on ACPI
help
Say Y here to use the hypervisor-provided Virtual Machine Generation ID
to reseed the RNG when the VM is cloned. This is highly recommended if
you intend to do any rollback / cloning / snapshotting of VMs.
Prefer Y to M so that this protection is activated very early.
The recommendation and default value is Y over M. This commit changes
the linux5.18 package config to use the suggested value.
---
srcpkgs/linux5.18/files/arm64-dotconfig | 2 +-
srcpkgs/linux5.18/files/i386-dotconfig | 2 +-
srcpkgs/linux5.18/files/x86_64-dotconfig | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/linux5.18/files/arm64-dotconfig b/srcpkgs/linux5.18/files/arm64-dotconfig
index 81fbc7918e6c..c0485dcc1853 100644
--- a/srcpkgs/linux5.18/files/arm64-dotconfig
+++ b/srcpkgs/linux5.18/files/arm64-dotconfig
@@ -9276,7 +9276,7 @@ CONFIG_HISI_ACC_VFIO_PCI=m
CONFIG_VFIO_MDEV=m
CONFIG_VFIO_FSL_MC=m
CONFIG_VIRT_DRIVERS=y
-CONFIG_VMGENID=m
+CONFIG_VMGENID=y
CONFIG_NITRO_ENCLAVES=m
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI_LIB=y
diff --git a/srcpkgs/linux5.18/files/i386-dotconfig b/srcpkgs/linux5.18/files/i386-dotconfig
index 78ab63762b60..d04ec97412cd 100644
--- a/srcpkgs/linux5.18/files/i386-dotconfig
+++ b/srcpkgs/linux5.18/files/i386-dotconfig
@@ -8120,7 +8120,7 @@ CONFIG_MLX5_VFIO_PCI=m
CONFIG_VFIO_MDEV=m
CONFIG_IRQ_BYPASS_MANAGER=m
CONFIG_VIRT_DRIVERS=y
-CONFIG_VMGENID=m
+CONFIG_VMGENID=y
CONFIG_VBOXGUEST=m
CONFIG_NITRO_ENCLAVES=m
CONFIG_VIRTIO=m
diff --git a/srcpkgs/linux5.18/files/x86_64-dotconfig b/srcpkgs/linux5.18/files/x86_64-dotconfig
index 6731a62c767e..0a900fe3f248 100644
--- a/srcpkgs/linux5.18/files/x86_64-dotconfig
+++ b/srcpkgs/linux5.18/files/x86_64-dotconfig
@@ -8219,7 +8219,7 @@ CONFIG_MLX5_VFIO_PCI=m
CONFIG_VFIO_MDEV=m
CONFIG_IRQ_BYPASS_MANAGER=m
CONFIG_VIRT_DRIVERS=y
-CONFIG_VMGENID=m
+CONFIG_VMGENID=y
CONFIG_VBOXGUEST=m
CONFIG_NITRO_ENCLAVES=m
CONFIG_VIRTIO=m
next reply other threads:[~2022-06-08 9:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-08 9:18 zx2c4 [this message]
2022-06-08 12:10 ` [PR PATCH] [Merged]: " leahneukirchen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37444@inbox.vuxu.org \
--to=zx2c4@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).