summaryrefslogtreecommitdiffstats
path: root/external/poky/meta/conf/machine/include/qemuboot-mips.inc
diff options
context:
space:
mode:
Diffstat (limited to 'external/poky/meta/conf/machine/include/qemuboot-mips.inc')
-rw-r--r--external/poky/meta/conf/machine/include/qemuboot-mips.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/external/poky/meta/conf/machine/include/qemuboot-mips.inc b/external/poky/meta/conf/machine/include/qemuboot-mips.inc
index 7d9fa52d..f1f7c2ae 100644
--- a/external/poky/meta/conf/machine/include/qemuboot-mips.inc
+++ b/external/poky/meta/conf/machine/include/qemuboot-mips.inc
@@ -1,8 +1,10 @@
# For runqemu
IMAGE_CLASSES += "qemuboot"
-QB_MEM = "-m 256"
QB_MACHINE = "-machine malta"
QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 console=tty"
+QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet"
# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
-QB_OPT_APPEND = "-vga cirrus -show-cursor -usb -device usb-tablet -device virtio-rng-pci"
-QB_SYSTEM_NAME = "qemu-system-${TUNE_ARCH}"
+QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0"
+
+# For graphics to work we need to define the VGA device as well as the necessary USB devices
+QB_OPT_APPEND += "-vga std"