summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/qemuarm64.conf
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/qemuarm64.conf
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/qemuarm64.conf')
-rw-r--r--meta/conf/machine/qemuarm64.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf
index a0920fe0e4..d0750624a8 100644
--- a/meta/conf/machine/qemuarm64.conf
+++ b/meta/conf/machine/qemuarm64.conf
@@ -15,6 +15,7 @@ QB_MEM = "-m 512"
QB_MACHINE = "-machine virt"
QB_CPU = "-cpu cortex-a57"
QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,38400"
+# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
QB_OPT_APPEND = "-show-cursor -device virtio-rng-pci"
QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no -device virtio-net-device,netdev=net0,mac=@MAC@"
QB_SLIRP_OPT = "-netdev user,id=net0 -device virtio-net-device,netdev=net0"