From b509716b33047a6633a676870945b998b23d5421 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Tue, 19 May 2009 13:18:00 +0000 Subject: [PATCH] Add documentation for device XML format. --- ChangeLog | 5 +++++ docs/formatdomain.html | 20 ++++++++++++++++++++ docs/formatdomain.html.in | 24 ++++++++++++++++++++++++ 3 files changed, 49 insertions(+) diff --git a/ChangeLog b/ChangeLog index 884dab9fba..5841278d56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue May 19 09:16:37 EDT 2009 Cole Robinson + + Add documentation for device XML format. + * docs/formatdomain.html docs/formatdomain.html.in + Tue May 19 09:14:12 EDT 2009 Cole Robinson Use virAsprintf, rather than VIR_ALLOC + strcpy + strcat diff --git a/docs/formatdomain.html b/docs/formatdomain.html index 17dc0cd8e7..27e42acb17 100644 --- a/docs/formatdomain.html +++ b/docs/formatdomain.html @@ -183,6 +183,8 @@
  • UNIX domain socket client/server
  • +
  • + Sound devices
  • @@ -916,6 +918,24 @@ qemu-kvm -net nic,model=? /dev/null <target port="1"/> </serial> ... +

    + Sound devices +

    +

    + A virtual sound card can be attached to the host via the + sound element. Since 0.4.3 +

    +
    +      ...
    +      <sound model='es1370'/>
    +      ...
    +
    sound
    + The sound element has one mandatory attribute, + model, which specifies what real sound device is emulated. + Valid values are specific to the underlying hypervisor, though typical + choices are 'es1370', 'sb16', and 'ac97' + ('ac97' only since 0.6.0) +

    Example configs

    diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index ee32354cad..4479a6eef1 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -886,6 +886,30 @@ qemu-kvm -net nic,model=? /dev/null </serial> ... + +

    Sound devices

    + +

    + A virtual sound card can be attached to the host via the + sound element. Since 0.4.3 +

    + +
    +      ...
    +      <sound model='es1370'/>
    +      ...
    + +
    +
    sound
    +
    + The sound element has one mandatory attribute, + model, which specifies what real sound device is emulated. + Valid values are specific to the underlying hypervisor, though typical + choices are 'es1370', 'sb16', and 'ac97' + ('ac97' only since 0.6.0) +
    +
    +

    Example configs