[libvirt] [PATCH] qemu: sound: Support intel 'hda' model

Gerd Hoffmann kraxel at redhat.com
Tue Jan 11 11:48:07 UTC 2011


On 01/11/11 12:10, Daniel P. Berrange wrote:
> This suggests a setup more like the one we did for virtio-serial
> where we'd invent a new address type for codecs, and have XML
> looking something like
>
>      <controller type='hda' model='ich6'>
>        <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
>      </controller>
>      <sound model='hda-output'>
>        <address type='hda' codec='0'/>
>      </sound>
>      <sound model='hda-duplex'>
>        <address type='hda' codec='1'/>
>      </sound>

Looks sane to me.

> Are there any technical model names for 'hda-output' 'hda-duplex'
> we need to be aware of (as we potentially have ich6, ich7, 8, 9,
> etc for intel-hda in the future)

hda-output and hda-duplex are purely virtual devices, they don't exist 
as physical chip, so there are no code names or chipset families.

When other variants of the hda controller will be added the audio codecs 
are not affected at all.  Given that q35 (ich9 family) chipset emulation 
support is in development it is quite likely that we'll see a ich9 
variant some day (which is basically just another pci id).

cheers,
   Gerd




More information about the libvir-list mailing list