summaryrefslogtreecommitdiffstats
path: root/recipes-support/rng-tools/rng-tools_agldemo.inc
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-01-16 18:14:47 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-01-29 14:29:37 +0000
commitff102f398a1baf0522c359f356c31c3f935491dd (patch)
treecdea279bd6d2d194ab01b53a32cb1d0dcb9d706b /recipes-support/rng-tools/rng-tools_agldemo.inc
parent3b3008fc244b29a1022c93dd567db73990a8c505 (diff)
rng-tools: disable jitter entropy generation in VMs
Add a bbappend for rng-tools that disables jitter entropy generation for virtio-all machines, as it provides little value in virtual machines that are dependent on the host entropy anyways, and slows their booting very significantly. Bug-AGL: SPEC-4618 Change-Id: Ia61917253b69f37b003c617d4203c823dd51bb6c Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit ebeba2f0667d7195597d9131a12d880d503a399a)
Diffstat (limited to 'recipes-support/rng-tools/rng-tools_agldemo.inc')
-rw-r--r--recipes-support/rng-tools/rng-tools_agldemo.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-support/rng-tools/rng-tools_agldemo.inc b/recipes-support/rng-tools/rng-tools_agldemo.inc
new file mode 100644
index 000000000..283c8a4c4
--- /dev/null
+++ b/recipes-support/rng-tools/rng-tools_agldemo.inc
@@ -0,0 +1,7 @@
+# Pick up modified default configuration for virtual machines
+# that disables jitter entropy source, as it is not useful when
+# the VMs are effectively driven by the host RNG via virtio-rng.
+# This also helps boot speed, as otherwise the guests have rngd
+# potentially somewhat pointlessly burning a lot of CPU on boot,
+# in addition to the host's own rngd.
+FILESEXTRAPATHS:prepend:virtio-all := "${THISDIR}/files:"
/a> 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369