diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-03-09 11:02:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-10 13:07:37 +0000 |
commit | 5c931175b4707b3bf46aee9509607bef9adfe08f (patch) | |
tree | 771fb83d698840d06c973f001b1bf2159f3cafa8 /meta/classes | |
parent | 95634fdbc5fa979026f30a2c185fa1a5d7a2c5af (diff) | |
download | poky-5c931175b4707b3bf46aee9509607bef9adfe08f.tar.gz |
conf/machine: fix QEMU x86 sound options
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>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/qemuboot.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/qemuboot.bbclass b/meta/classes/qemuboot.bbclass index 755d49acd6..ad8489902a 100644 --- a/meta/classes/qemuboot.bbclass +++ b/meta/classes/qemuboot.bbclass | |||
@@ -29,7 +29,7 @@ | |||
29 | # | 29 | # |
30 | # QB_AUDIO_DRV: qemu audio driver, e.g., "alsa", set it when support audio | 30 | # QB_AUDIO_DRV: qemu audio driver, e.g., "alsa", set it when support audio |
31 | # | 31 | # |
32 | # QB_AUDIO_OPT: qemu audio option, e.g., "-soundhw ac97,es1370", used | 32 | # QB_AUDIO_OPT: qemu audio option, e.g., "-device AC97", used |
33 | # when QB_AUDIO_DRV is set. | 33 | # when QB_AUDIO_DRV is set. |
34 | # | 34 | # |
35 | # QB_RNG: Pass-through for host random number generator, it can speedup boot | 35 | # QB_RNG: Pass-through for host random number generator, it can speedup boot |