blob: 1456bf7e8bc0d016358f594111c9ee3224e99191 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001# For runqemu
2IMAGE_CLASSES += "qemuboot"
3QB_SYSTEM_NAME_x86 = "qemu-system-i386"
Brad Bishop6e60e8b2018-02-01 10:27:11 -05004QB_CPU_x86 = "-cpu pentium2"
5QB_CPU_KVM_x86 = "-cpu pentium2"
Patrick Williamsc0f7c042017-02-23 20:41:17 -06006
7QB_SYSTEM_NAME_x86-64 = "qemu-system-x86_64"
8QB_CPU_x86-64 = "-cpu core2duo"
Brad Bishop6e60e8b2018-02-01 10:27:11 -05009QB_CPU_KVM_x86-64 = "-cpu core2duo"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060010
11QB_AUDIO_DRV = "alsa"
12QB_AUDIO_OPT = "-soundhw ac97,es1370"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050013QB_KERNEL_CMDLINE_APPEND = "vga=0 uvesafb.mode_option=${UVESA_MODE} oprofile.timer=1 uvesafb.task_timeout=-1"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060014# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
Brad Bishopd7bf8c12018-02-25 22:55:05 -050015QB_OPT_APPEND = "-vga vmware -show-cursor -usb -device usb-tablet -device virtio-rng-pci"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050016
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017UVESA_MODE ?= "640x480-32"