Bug 683326

Summary: no intel-hda listed in soundhw
Product: Red Hat Enterprise Linux 6 Reporter: Mike Cao <bcao>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.1CC: bcao, Jes.Sorensen, juzhang, lcapitulino, michen, mkenneth, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-26 12:45:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mike Cao 2011-03-09 06:44:41 UTC
Description of problem:


Version-Release number of selected component (if applicable):
# uname -r
2.6.32-118.el6.x86_64
# rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.148.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1./usr/libexec/qemu-kvm -soundhw ?

  
Actual results:
# /usr/libexec/qemu-kvm -soundhw ?
Valid sound card names (comma separated):
pcspk       PC speaker
ac97        Intel 82801AA AC97 Audio
es1370      ENSONIQ AudioPCI ES1370

-soundhw all will enable all of the above

Expected results:
intel-hda should in the list

Additional info:

Comment 5 Gerd Hoffmann 2011-04-26 12:45:51 UTC
The patch doing the windup for '-soundhw hda' was not backported to RHEL, so the output is actually correct.  Using the -device switch is the recommended way to create the device (libvirt does it this way).

I don't see a strong reason why -soundhw should be supported in RHEL.
If there is one please reopen and explain.

Comment 6 Mike Cao 2011-04-27 02:54:39 UTC
Hi, Gerd 

# /usr/libexec/qemu-kvm --help|grep sound
-soundhw c1,... enable audio support
                and only specified sound cards (comma separated list)
                use -soundhw ? to get the list of supported cards
                use -soundhw all to enable all of them

if the command is not supported , should it remove from help doc ?

Comment 7 Gerd Hoffmann 2011-04-27 10:40:30 UTC
I don't think this is worth the trouble.

Invoking qemu-kvm directly isn't supported, only via management (i.e. libvirt).
You are not supposed to see the help output in the first place ;)