Bug 816503

Summary: [RFE] Ability to configure sound pass-through to appear as MIC as opposed to line-in
Product: Red Hat Enterprise Linux 6 Reporter: Gerd Hoffmann <kraxel>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: acathrow, bsarathy, dallan, djuran, dyasny, dyuan, juzhang, marcandre.lureau, mkenneth, mzhan, rwu, virt-maint, yupzhang
Target Milestone: rcKeywords: FutureFeature
Target Release: 6.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-0.10.0-0rc0.el6 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 801063 Environment:
Last Closed: 2013-02-21 07:12:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 801063    
Bug Blocks:    

Comment 2 Marc-Andre Lureau 2012-05-04 14:52:28 UTC
I have started working on patches

Comment 3 Marc-Andre Lureau 2012-05-04 17:24:39 UTC
patches sent to ML:
https://www.redhat.com/archives/libvir-list/2012-May/msg00331.html

Comment 4 RHEL Program Management 2012-07-10 08:24:21 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 Marc-Andre Lureau 2012-07-10 11:32:20 UTC
(patches are in libvirt 0.9.13, reassigning to component owner)

Comment 6 RHEL Program Management 2012-07-10 23:51:20 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 8 yuping zhang 2012-08-06 09:07:02 UTC
Tested this issue with:
libvirt-0.10.0-0rc0.el6.x86_64
kernel-2.6.32-287.el6.x86_64
qemu-kvm-0.12.1.2-2.302.el6.x86_64

#virsh edit win7-32
...
 <sound model='ich6'>
  <codec type='micro'/>
 </sound>
...

#virsh start win7-32
error: Failed to start domain win7-32
error: unsupported configuration: hda-micro not supported in this QEMU binary

According to bug https://bugzilla.redhat.com/show_bug.cgi?id=801063#c9, hda-micro is supported from qemu-kvm-0.12.1.2-2.295.el6.x86_64.

I don't know what's wrong here.

Hi Marc-Andre Lureau,
Any idea?

Comment 9 yuping zhang 2012-08-06 09:39:45 UTC
The status of bug 801063 is POST.I will test this issue after that bug is fixed.

Comment 10 yuping zhang 2012-08-27 09:33:01 UTC
Verified this issue with:
libvirt-0.10.0-0rc1.el6.x86_64
qemu-kvm-0.12.1.2-2.307.el6.x86_64
kernel-2.6.32-287.el6.x86_64

#virsh edit win7-32
...
    <sound model='ich6'>
+      <codec type='micro'/>
      <alias name='sound0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </sound>
...
#virsh start win7-32
#ps -ef | grep win7-32
...
-device hda-micro,id=sound0-codec0,bus=sound0.0,cad=0 
...

In guest,check "Start -> Control Panel -> Hardware and Sound -> Manage audio devices -> Recording tab".It is Mircophone.

As above,change the bug status to VERIFIED.

Comment 11 errata-xmlrpc 2013-02-21 07:12:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0276.html