Skip to content

Commit

Permalink
vmtest: add virtio-rng and cgroup Kconfig options
Browse files Browse the repository at this point in the history
We're seeing some hangs waiting for entropy when running tests, so let's
enable the virtio-rng module. While we're doing a rebuild, we might as
well enable cgroups so that we can finally run those tests.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
  • Loading branch information
osandov committed Sep 2, 2021
1 parent 3c68b25 commit ce845ad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vmtest/kbuild.py
Expand Up @@ -23,7 +23,7 @@

logger = logging.getLogger(__name__)

KERNEL_LOCALVERSION = "-vmtest5"
KERNEL_LOCALVERSION = "-vmtest6"


def kconfig() -> str:
Expand Down Expand Up @@ -59,6 +59,8 @@ def kconfig() -> str:
CONFIG_TMPFS_XATTR=y
CONFIG_VIRTIO_CONSOLE=y
CONFIG_VIRTIO_PCI=y
CONFIG_HW_RANDOM=m
CONFIG_HW_RANDOM_VIRTIO=m
# drgn needs /proc/kcore for live debugging.
CONFIG_PROC_KCORE=y
Expand All @@ -79,6 +81,9 @@ def kconfig() -> str:
# For block tests.
CONFIG_BLK_DEV_LOOP=m
# For cgroup tests.
CONFIG_CGROUPS=y
# For kconfig tests.
CONFIG_IKCONFIG=m
CONFIG_IKCONFIG_PROC=y
Expand Down

0 comments on commit ce845ad

Please sign in to comment.