libvirt/docs/schemas
Cole Robinson 6cabc0b0d0 qemu: sound: Support intel 'ich6' model
In QEMU, the card itself is a PCI device, but it requires a codec
(either -device hda-output or -device hda-duplex) to actually output
sound. Specifying <sound model='ich6'/> gives us -device intel-hda
-device hda-duplex I think it's important that a simple <sound model='ich6'/>
sets up a useful codec, to have consistent behavior with all other sound cards.

This is basically Dan's proposal of

    <sound model='ich6'>
        <codec type='output' slot='0'/>
        <codec type='duplex' slot='3'/>
    </sound>

without the codec bits implemented.

The important thing is to keep a consistent API here, we don't want some
<sound> devs require tweaking codecs but not others. Steps I see to
accomplishing this:

    - every <sound> device has a <codec type='default'/> (unless codecs are
        manually specified)
    - <codec type='none'/> is required to specify 'no codecs'
    - new audio settings like mic=on|off could then be exposed in
        <sound> or <codec> in a consistent manner for all sound models

v2:
    Use model='ich6'

v3:
    Use feature detection, from eblake
    Set codec id, bus, and cad values

v4:
    intel-hda isn't supported if -device isn't available

v5:
    Comment spelling fixes
2011-01-24 13:11:52 -05:00
..
capability.rng cpu: Add support for CPU vendor 2010-07-07 17:26:00 +02:00
domain.rng qemu: sound: Support intel 'ich6' model 2011-01-24 13:11:52 -05:00
domainsnapshot.rng Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
interface.rng interface.rng: Make miimon and arpmon optional for bond interfaces 2010-11-15 14:22:42 -05:00
Makefile.am Install, distribute and package domainsnapshot.rng 2010-05-27 01:11:15 +02:00
network.rng Change virtual network XML parsing/formatting to support IPv6 2010-12-23 15:53:55 -05:00
nodedev.rng maint: convert leading TABs in *.rng files to equivalent spaces 2010-03-01 20:19:20 +01:00
nwfilter.rng nwfilter: Extend schema to accept state attribute 2010-10-07 06:44:41 -04:00
secret.rng Fix a wellformedness problem in secret.rng 2009-12-10 17:03:47 +01:00
storageencryption.rng Remove accidentally added UUID re-definition in storage schema 2009-09-14 19:11:13 +01:00
storagepool.rng Fix parsing of port attribute in storage XML configuration 2010-11-23 14:55:33 +00:00
storagevol.rng maint: convert leading TABs in *.rng files to equivalent spaces 2010-03-01 20:19:20 +01:00