From 9d72134f9b6c1b2391ee75973971f414eb2c83a1 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 30 Apr 2016 12:49:00 +0100 Subject: [PATCH] launch: Add cryptomgr.notests to the appliance command line. Save 28ms by not running the crypto self-tests when Linux boots. (cherry picked from commit c34995c6b3a60c78aefd12ad73f6c453a127a8ad) --- src/launch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/launch.c b/src/launch.c index 04b0e94..e7cb325 100644 --- a/src/launch.c +++ b/src/launch.c @@ -340,6 +340,7 @@ guestfs_int_appliance_command_line (guestfs_h *g, const char *appliance_dev, " printk.time=1" /* display timestamp before kernel messages */ " cgroup_disable=memory" /* saves us about 5 MB of RAM */ " usbcore.nousb" /* disable USB, only saves about 1ms */ + " cryptomgr.notests" /* disable crypto tests, saves 28ms */ " 8250.nr_uarts=1" /* don't scan all 8250 UARTS */ "%s" /* root=appliance_dev */ " %s" /* selinux */ -- 1.8.3.1