Skip to contentSkip to conversation

Mistake in qemu man page?

Qemu-devel New Ryan Hayle 3 participants 3 messages Dec 3, 2008

lore
Share & tools
lore

Ryan Hayle

author
#0 lore raw

The qemu man page includes an "hda" parameter to -soundhw, which I think must be a mistake...

-soundhw card1[,card2,...] or -soundhw all
Enable audio and selected sound hardware. Use ? to print all available sound hardware.

qemu -soundhw sb16,adlib hda
qemu -soundhw es1370 hda
qemu -soundhw ac97 hda
qemu -soundhw all hda
qemu -soundhw ?

At first I thought you had added emulating an Intel HDA sound adapter, but since it's not in the list of sound drivers, I thought I would post it here.

Ryan

#1 lore raw

PATCH 1/1 Fix man page (Was: Mistake in qemu man page?)

Quoted 14 lines · Ryan Hayle

The qemu man page includes an "hda" parameter to -soundhw, which I think must be a mistake...

-soundhw card1[,card2,...] or -soundhw all
Enable audio and selected sound hardware. Use ? to print all available sound hardware.

qemu -soundhw sb16,adlib hda
qemu -soundhw es1370 hda
qemu -soundhw ac97 hda
qemu -soundhw all hda
qemu -soundhw ?

Quoted 8 lines

At first I thought you had added emulating an Intel HDA sound adapter, but since it's not in the list of sound drivers, I thought I would post it here.

Ryan

Here is a patch which changes the misleading part:

Fix documentation for command line option -soundhw

qemu-doc.texi (Arbeitskopie) renamed from qemu-doc.texi (Revision 5863) +4 -4
Index: qemu-doc.texi
===================================================================
@@ -371,10 +371,10 @@
 available sound hardware.
 
 @example
-qemu -soundhw sb16,adlib hda
-qemu -soundhw es1370 hda
-qemu -soundhw ac97 hda
-qemu -soundhw all hda
+qemu -soundhw sb16,adlib
+qemu -soundhw es1370
+qemu -soundhw ac97
+qemu -soundhw all
 qemu -soundhw ?
 @end example
#2 lore raw
In reply to Ryan Hayle

Hi,

Am 03.12.2008 um 07:40 schrieb Ryan Hayle:

Quoted 6 lines

The qemu man page includes an "hda" parameter to -soundhw, which I think must be a mistake...

-soundhw card1[,card2,...] or -soundhw all
Enable audio and selected sound hardware. Use ? to print all available sound hardware.

Quoted 8 lines

qemu -soundhw sb16,adlib hda
qemu -soundhw es1370 hda
qemu -soundhw ac97 hda
qemu -soundhw all hda
qemu -soundhw ?

At first I thought you had added emulating an Intel HDA sound adapter, but since it's not in the list of sound drivers, I thought I would post it here.

hda refers to the name of the disk image for IDE harddisk one, i.e. yourhda.img. Otherwise the qemu command line is incomplete and won't work (or prompt for an image). Note that it's apparently not necessary for ?, so it makes sense to keep it in some form.

Andreas