QEMU/Devices/Sound cards: Difference between revisions

wasn't just deprecated, i forgot if its a fatal exit or if its silent but the argument was removed entirely in 7.0
No edit summary
(wasn't just deprecated, i forgot if its a fatal exit or if its silent but the argument was removed entirely in 7.0)
Sound cards can be added easily to QEMU virtual machines easily through using <code>-audio</code> or the deprecatedremoved since QEMU 7.0 <code>-soundhw</code> argument.
 
==How to add a sound card==
===QEMU 7 and above:===
 
You can add a card with the following:
<kbd>output_driver</kbd> and <kbd>id</kbd> are the same as <kbd>-audiodev {output_driver},{id}</kbd> in older versions with their respective arguments.
 
===QEMU versions before 7.0:===
 
You can add a card with the following: