diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index b9dbe97cba..fca8d1d29d 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -806,6 +806,9 @@ class BaseConfig(object): self.qemu_opt = "%s %s %s %s %s %s" % (qemu_bin, self.get('NETWORK_CMD'), self.qemu_opt_script, self.get('ROOTFS_OPTIONS'), self.get('QB_DTB'), 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.serialstdio: logger.info("Interrupt character is '^]'") cmd = "stty intr ^]" |