summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-09-22 23:53:00 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-23 14:55:44 +0100
commite890c05e66a21702e9e8ccce794b74cb7f5518ed (patch)
tree5ba84efbf51135cd23c540d6eab0ce77549c5ba3 /scripts
parent89b28990ff3ef8ac7a33a0a3f9177b9bd0e1530b (diff)
downloadopenembedded-core-e890c05e66a21702e9e8ccce794b74cb7f5518ed.tar.gz
openembedded-core-e890c05e66a21702e9e8ccce794b74cb7f5518ed.tar.bz2
openembedded-core-e890c05e66a21702e9e8ccce794b74cb7f5518ed.zip
runqemu: Move virtio RNG to machine configuration
Not all QEMU machines (outside of those available in OE-Core) are capable of using the virtio-rng-pci device due to various machine models not having a pci/virtio bus. This makes it such that the use of the '-device virtio-rng-pci' flag to QEMU is machine specific. This patch removes the general addition of the flag to all runqemu targets and adds the flag into the QB_OPT_APPEND for all the qemu* machines in OE-Core that support its use (which is all of them). Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 658f7c8abd..2ed6f9a26e 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -900,9 +900,6 @@ class BaseConfig(object):
self.qemu_opt = "%s %s %s %s %s" % (qemu_bin, self.get('NETWORK_CMD'), self.qemu_opt_script, self.get('ROOTFS_OPTIONS'), self.get('QB_OPT_APPEND'))
- # Enable virtio RNG else we can run out of entropy in guests
- self.qemu_opt += " -device virtio-rng-pci"
-
if self.snapshot:
self.qemu_opt += " -snapshot"