mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 18:32:20 +02:00
This updates the QEMU sounds options for x86 emulation, when "runqemu" is called with the "audio" argument, to fix the below error: runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: warning: '-soundhw ac97' is deprecated, please use '-device AC97' instead (From OE-Core rev: b802a5dd1a79c7be3bc790223a733ebc9be4f117) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 lines
442 B
HTML
15 lines
442 B
HTML
# For runqemu
|
|
IMAGE_CLASSES += "qemuboot"
|
|
QB_SMP = "-smp 4"
|
|
QB_CPU:x86 = "-cpu IvyBridge -machine q35"
|
|
QB_CPU_KVM:x86 = "-cpu IvyBridge -machine q35"
|
|
|
|
QB_CPU:x86-64 = "-cpu IvyBridge -machine q35"
|
|
QB_CPU_KVM:x86-64 = "-cpu IvyBridge -machine q35"
|
|
|
|
QB_AUDIO_DRV = "alsa"
|
|
QB_AUDIO_OPT = "-device AC97"
|
|
QB_KERNEL_CMDLINE_APPEND = "oprofile.timer=1 tsc=reliable no_timer_check rcupdate.rcu_expedited=1"
|
|
QB_OPT_APPEND = "-usb -device usb-tablet"
|
|
|