Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 1 | # For runqemu |
| 2 | IMAGE_CLASSES += "qemuboot" |
| 3 | QB_MEM = "-m 256" |
| 4 | QB_MACHINE = "-machine malta" |
| 5 | QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 console=tty" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 6 | QB_OPT_APPEND = "-vga cirrus -show-cursor -usb -device usb-tablet" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 7 | # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 8 | QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 9 | QB_SYSTEM_NAME = "qemu-system-${TUNE_ARCH}" |