Bug 1002695

Summary: [User portal] Windows 7 x64 is launched with emulated AC97 sound card instead of Intel HDMA
Product: Red Hat Enterprise Virtualization Manager Reporter: Marian Krcmarik <mkrcmari>
Component: ovirt-engine-userportalAssignee: Roy Golan <rgolan>
Status: CLOSED CURRENTRELEASE QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, bsanford, ecohen, iheim, lsvaty, michal.skrivanek, mkrcmari, pvine, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: is18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Marian Krcmarik 2013-08-29 17:55:39 UTC
Description of problem:
Soundcard checkbox is thicked by default for Windows 7 64bit VM in Console tab of VM options, but once a user unthick this select box, start and stop VM and again thick the checkbox and start VM, VM is then started with AC97 sound card.

Version-Release number of selected component (if applicable):
is10

How reproducible:
always

Steps to Reproduce:
1. Create Vm with Windows 7 64 OS type.
2. Start Vm with soundcard checkbox thicked and stop VM.
3. Unthick soundcard checkbox, start and stop VM
4. Thick the checkbox again and start VM

Actual results:
VM has AC97 sound card emulated.

Expected results:
Intel HDMA sound card emulated

Additional info:

Comment 1 Marian Krcmarik 2013-09-02 15:49:08 UTC
One more observation:
AC97 is used directly when choosing RHEL6 x64 type of OS, AC97 should be used with only WinXP as default and maybe with "Other" type.

Comment 2 Roy Golan 2013-09-16 12:40:57 UTC
BTW did verify that its working when changing the osinfo configuration to ich6?

Comment 3 Marian Krcmarik 2013-09-16 12:45:24 UTC
(In reply to Roy Golan from comment #2)
> BTW did verify that its working when changing the osinfo configuration to
> ich6?

I have no idea what osinfo configuration with value ich6 is and where (in RHEV Portals) I can find it.

Comment 4 Roy Golan 2013-09-16 13:29:20 UTC
I see qemu-kvm has devices the engine don't expose and it doesn't specify 'ich6' as a supported emulted device

[root@cube ~]# qemu-kvm --soundhw ?
Valid sound card names (comma separated):

pcspk       PC speaker
sb16        Creative Sound Blaster 16
ac97        Intel 82801AA AC97 Audio
es1370      ENSONIQ AudioPCI ES1370
hda         Intel HD Audio


engine has ac97 and ich6.
1. does this mean ich6 isn't supported at all or just hidden from the list?
2. can you help revisit the supported audio devices/OS[1]?

[1] http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=tree;f=packaging/conf/osinfo-defaults.properties;hb=HEAD

Comment 5 Marian Krcmarik 2013-09-16 14:54:20 UTC
(In reply to Roy Golan from comment #4)
> I see qemu-kvm has devices the engine don't expose and it doesn't specify
> 'ich6' as a supported emulted device
> 
> [root@cube ~]# qemu-kvm --soundhw ?
> Valid sound card names (comma separated):
> 
> pcspk       PC speaker
> sb16        Creative Sound Blaster 16
> ac97        Intel 82801AA AC97 Audio
> es1370      ENSONIQ AudioPCI ES1370
> hda         Intel HD Audio
> 
> 
> engine has ac97 and ich6.
> 1. does this mean ich6 isn't supported at all or just hidden from the list?
> 2. can you help revisit the supported audio devices/OS[1]?

re: 1. ich6 is a controller/driver of Intel HD audio definition afaik so I assume under ich6, hda type sound card will be emulated (hda-intel device added to qemu cli).

re: 2. I am not able to access the link, I get 404. But in:
http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blob_plain;f=packaging/conf/osinfo-defaults.properties;hb=refs/heads/ovirt-engine-3.3 I can see various wrong values:

AS talked to mskrivanek:
RHEL3,4,5 should have AC97, WInXP, 2003 (both 32 and 64) should have AC97 as well, The rest newer Windows and RHELs, should have ich6, The Other variants should be kept as They were, I guesss ich6.
> 
> [1]
> http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=tree;f=packaging/conf/
> osinfo-defaults.properties;hb=HEAD

Comment 6 Roy Golan 2013-09-17 07:25:48 UTC
*** Bug 1003092 has been marked as a duplicate of this bug. ***

Comment 7 Michal Skrivanek 2013-10-01 09:23:21 UTC
backport to ovirt-engine-3.3 pending

Comment 8 Lukas Svaty 2013-10-11 15:06:59 UTC
verified in is18
audio card updated as expected

Comment 9 Itamar Heim 2014-01-21 22:27:56 UTC
Closing - RHEV 3.3 Released

Comment 10 Itamar Heim 2014-01-21 22:27:57 UTC
Closing - RHEV 3.3 Released

Comment 11 Itamar Heim 2014-01-21 22:30:53 UTC
Closing - RHEV 3.3 Released