aboutsummaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/qemuboot-mips.inc
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-09-27 01:33:57 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-27 09:01:33 +0100
commitbc5d1fdea674e842e4b0c45b38782930ec133051 (patch)
tree4fce9de10d0ed1a24b301fdcc662b7c6eeb902b8 /meta/conf/machine/include/qemuboot-mips.inc
parent6946a19fdc8853fbb02fd531b76d9d6d9a3febc3 (diff)
downloadopenembedded-core-contrib-bc5d1fdea674e842e4b0c45b38782930ec133051.tar.gz
machine/qemu*: Add comment regarding the reason for virtio-rng-pci
Bring across the comment that was in runqemu regarding why the virtio-rng-pci device was needed. This comment is added to each location where the virtio-rng-pci device is added. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/qemuboot-mips.inc')
-rw-r--r--meta/conf/machine/include/qemuboot-mips.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/machine/include/qemuboot-mips.inc b/meta/conf/machine/include/qemuboot-mips.inc
index 01f8f8bb3b..0c60cf297f 100644
--- a/meta/conf/machine/include/qemuboot-mips.inc
+++ b/meta/conf/machine/include/qemuboot-mips.inc
@@ -3,5 +3,6 @@ IMAGE_CLASSES += "qemuboot"
QB_MEM = "-m 256"
QB_MACHINE = "-machine malta"
QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 console=tty"
+# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
QB_OPT_APPEND = "-vga cirrus -show-cursor -usb -usbdevice tablet -device virtio-rng-pci"
QB_SYSTEM_NAME = "qemu-system-${TUNE_ARCH}"