mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0077-launch-Add-cryptomgr.notests-to-the-appliance-comman.patch

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