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 | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 4 | QB_CPU_x86 = "-cpu pentium2" |
| 5 | QB_CPU_KVM_x86 = "-cpu pentium2" |
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" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 14 | # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 15 | QB_OPT_APPEND = "-vga vmware -show-cursor -usb -device usb-tablet -device virtio-rng-pci" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 16 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 17 | UVESA_MODE ?= "640x480-32" |