From 1d1baeea63641ff49eac81f2c3b66966a24e7b1b Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" 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 81fbc7918e6c1a..c0485dcc18536b 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 78ab63762b6001..d04ec97412cd30 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 6731a62c767eb8..0a900fe3f24871 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