blob: 75bb98861f865deac4265c1f14c6518b98ea73b8 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001# For runqemu
2IMAGE_CLASSES += "qemuboot"
3QB_MEM = "-m 256"
4QB_MACHINE = "-machine malta"
5QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 console=tty"
Brad Bishop19323692019-04-05 15:28:33 -04006QB_OPT_APPEND = "-vga cirrus -show-cursor -usb -device usb-tablet"
Patrick Williamsc0f7c042017-02-23 20:41:17 -06007# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
Brad Bishop19323692019-04-05 15:28:33 -04008QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0"
Patrick Williamsc0f7c042017-02-23 20:41:17 -06009QB_SYSTEM_NAME = "qemu-system-${TUNE_ARCH}"