[Hardy] How to get sound in kvm

Asked by Sidarth Dasari on 2008-04-22

I am using KVM to run windows xp, however I cannot get sound to work. The virtual machine has no sound card. How do you get sound working in the virtual enviroment.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2008-04-22
Last reply:
2008-05-04
Neal McBurnett (nealmcb) said : #1

You can pass your sound card to the VM via the -soundhw switch to enable sound. E.g.

 kvm -soundhw all test.img

See some other examples at

 http://ubuntuforums.org/showthread.php?p=4800539

Can you help with this problem?

Provide an answer of your own, or ask Sidarth Dasari for more information if necessary.

To post a message you must log in.