From Fedora Project Wiki

Revision as of 07:53, 7 April 2010 by Tyan (talk | contribs) (Created page with 'Setup: a healthy guest, which is in shutoff Actions: 1. dump guest's xml # virsh dumpxml toy > toy.xml 2. insert following xml into node "<device>" <souce model="...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Setup:

a healthy guest, which is in shutoff

Actions:

1. dump guest's xml

  # virsh dumpxml toy > toy.xml


2. insert following xml into node "<device>"

  <souce model="ac97"/>


3. undefine & define

  # virsh undefine toy
   # virsh define toy.xml


4. start guest, and login into it to do check like following:

   1>. # lspci | grep -i ac


5. download a multi-media file, install mplayer or such other multi-media player to play the file we downloaded to see if there is sound.


6. loop upper steps with:

   1>. <sound model="es1370"/>
   2>. <sound model="pcspk"/>
   3>. <sound model="sb16"/>

Expected Results:

Step 4:

       will get output like:
       00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)


Step 5:

       will get sound.