summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-09-23 18:25:06 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-24 22:32:49 +0100
commitb6b985a22393931adef3412e726832848c41ce64 (patch)
treec107412df4fdfee0dcf9afd8f3a11a9519362922 /scripts/runqemu
parent6890a23a18e9c470c27854ec38e47030fdb2f0ed (diff)
downloadpoky-b6b985a22393931adef3412e726832848c41ce64.tar.gz
qemuboot: Add QB_RNG variable
RNG passthru has been enabled on all qemu machines but its being added to each one of them, with this patch its turned into QB variables which defaults to host passthru, yet it can be overridden if needed via machine or config metadata if needed. (From OE-Core rev: 26dd24506ef36088e17f999ce5489dc4b72194e8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index e62d869c20..e5e66f3453 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1336,7 +1336,7 @@ class BaseConfig(object):
1336 if not os.access(qemu_bin, os.X_OK): 1336 if not os.access(qemu_bin, os.X_OK):
1337 raise OEPathError("No QEMU binary '%s' could be found" % qemu_bin) 1337 raise OEPathError("No QEMU binary '%s' could be found" % qemu_bin)
1338 1338
1339 self.qemu_opt = "%s %s %s %s" % (qemu_bin, self.get('NETWORK_CMD'), self.get('ROOTFS_OPTIONS'), self.get('QB_OPT_APPEND')) 1339 self.qemu_opt = "%s %s %s %s %s" % (qemu_bin, self.get('NETWORK_CMD'), self.get('QB_RNG'), self.get('ROOTFS_OPTIONS'), self.get('QB_OPT_APPEND'))
1340 1340
1341 for ovmf in self.ovmf_bios: 1341 for ovmf in self.ovmf_bios:
1342 format = ovmf.rsplit('.', 1)[-1] 1342 format = ovmf.rsplit('.', 1)[-1]