diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-09-23 18:25:06 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-24 22:32:49 +0100 |
commit | b6b985a22393931adef3412e726832848c41ce64 (patch) | |
tree | c107412df4fdfee0dcf9afd8f3a11a9519362922 /meta/conf/machine/qemuarm64.conf | |
parent | 6890a23a18e9c470c27854ec38e47030fdb2f0ed (diff) | |
download | poky-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 'meta/conf/machine/qemuarm64.conf')
-rw-r--r-- | meta/conf/machine/qemuarm64.conf | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf index fdd464d708..2f61eb0aed 100644 --- a/meta/conf/machine/qemuarm64.conf +++ b/meta/conf/machine/qemuarm64.conf | |||
@@ -22,8 +22,6 @@ QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0" | |||
22 | # For graphics to work we need to define the VGA device as well as the necessary USB devices | 22 | # For graphics to work we need to define the VGA device as well as the necessary USB devices |
23 | QB_OPT_APPEND = "-device VGA,edid=on" | 23 | QB_OPT_APPEND = "-device VGA,edid=on" |
24 | QB_OPT_APPEND += "-device qemu-xhci -device usb-tablet -device usb-kbd" | 24 | QB_OPT_APPEND += "-device qemu-xhci -device usb-tablet -device usb-kbd" |
25 | # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy | ||
26 | QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0" | ||
27 | # Virtio Networking support | 25 | # Virtio Networking support |
28 | QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" | 26 | QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" |
29 | QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@" | 27 | QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@" |