Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 1 | # For runqemu |
| 2 | IMAGE_CLASSES += "qemuboot" |
| 3 | QB_SYSTEM_NAME_x86 = "qemu-system-i386" |
Brad Bishop | 393846f | 2019-05-20 12:24:11 -0400 | [diff] [blame^] | 4 | QB_CPU_x86 = "-cpu core2duo" |
| 5 | QB_CPU_KVM_x86 = "-cpu core2duo" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 6 | |
| 7 | QB_SYSTEM_NAME_x86-64 = "qemu-system-x86_64" |
| 8 | QB_CPU_x86-64 = "-cpu core2duo" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 9 | QB_CPU_KVM_x86-64 = "-cpu core2duo" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 10 | |
| 11 | QB_AUDIO_DRV = "alsa" |
| 12 | QB_AUDIO_OPT = "-soundhw ac97,es1370" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 13 | QB_KERNEL_CMDLINE_APPEND = "vga=0 uvesafb.mode_option=${UVESA_MODE} oprofile.timer=1 uvesafb.task_timeout=-1" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 14 | QB_OPT_APPEND = "-vga vmware -show-cursor -usb -device usb-tablet" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 15 | # 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] | 16 | QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 17 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 18 | UVESA_MODE ?= "640x480-32" |