Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 1 | # For runqemu |
| 2 | IMAGE_CLASSES += "qemuboot" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 3 | QB_MACHINE = "-machine malta" |
| 4 | QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 console=tty" |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 5 | QB_OPT_APPEND = "-usb -device usb-tablet" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 6 | # 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] | 7 | QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 8 | |
| 9 | # For graphics to work we need to define the VGA device as well as the necessary USB devices |
| 10 | QB_OPT_APPEND += "-vga std" |