diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2016-09-22 23:53:00 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-23 14:55:44 +0100 |
commit | e890c05e66a21702e9e8ccce794b74cb7f5518ed (patch) | |
tree | 5ba84efbf51135cd23c540d6eab0ce77549c5ba3 /meta/conf/machine/qemuarm64.conf | |
parent | 89b28990ff3ef8ac7a33a0a3f9177b9bd0e1530b (diff) | |
download | openembedded-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 'meta/conf/machine/qemuarm64.conf')
-rw-r--r-- | meta/conf/machine/qemuarm64.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf index da59c338e4..a0920fe0e4 100644 --- a/meta/conf/machine/qemuarm64.conf +++ b/meta/conf/machine/qemuarm64.conf @@ -15,7 +15,7 @@ QB_MEM = "-m 512" QB_MACHINE = "-machine virt" QB_CPU = "-cpu cortex-a57" QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,38400" -QB_OPT_APPEND = "-show-cursor" +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" QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0" |