* [PR PATCH] linux5.18: set CONFIG_VMGENID to y rather than m
@ 2022-06-08 9:18 zx2c4
2022-06-08 12:10 ` [PR PATCH] [Merged]: " leahneukirchen
0 siblings, 1 reply; 2+ messages in thread
From: zx2c4 @ 2022-06-08 9:18 UTC (permalink / raw)
To: ml
[-- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: linux5.18: set CONFIG_VMGENID to y rather than m
2022-06-08 9:18 [PR PATCH] linux5.18: set CONFIG_VMGENID to y rather than m zx2c4
@ 2022-06-08 12:10 ` leahneukirchen
0 siblings, 0 replies; 2+ messages in thread
From: leahneukirchen @ 2022-06-08 12:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 851 bytes --]
There's a merged pull request on the void-packages repository
linux5.18: set CONFIG_VMGENID to y rather than m
https://github.com/void-linux/void-packages/pull/37444
Description:
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-08 12:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 9:18 [PR PATCH] linux5.18: set CONFIG_VMGENID to y rather than m zx2c4
2022-06-08 12:10 ` [PR PATCH] [Merged]: " leahneukirchen
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).