blob: 82ce46d8604eee877bd9b3343c5297e65c8814ec [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001# For runqemu
2IMAGE_CLASSES += "qemuboot"
3QB_SYSTEM_NAME_x86 = "qemu-system-i386"
Brad Bishop393846f2019-05-20 12:24:11 -04004QB_CPU_x86 = "-cpu core2duo"
5QB_CPU_KVM_x86 = "-cpu core2duo"
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"
Brad Bishop19323692019-04-05 15:28:33 -040014QB_OPT_APPEND = "-vga vmware -show-cursor -usb -device usb-tablet"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060015# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
Brad Bishop19323692019-04-05 15:28:33 -040016QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017
Brad Bishop6e60e8b2018-02-01 10:27:11 -050018UVESA_MODE ?= "640x480-32"