Xen 4.3 virtual sound card support?

Questions about virtualization software
Forum rules
Before you post please read how to get help
Post Reply
darthazad
Level 1
Level 1
Posts: 3
Joined: Fri Dec 27, 2013 7:12 am

Xen 4.3 virtual sound card support?

Post by darthazad »

Hello all,
I am new to visualization but I have created a win7-64 HVM using Powerhouse's walkthrough. One thing I found was if I want a virtual sound card I should use the "soundhw=" option in the config file but win7-64 cannot recognize and of the cards in the qemu-dm provided by xen-system-amd64 (4.3.0-1ubuntu1.2).

Google told me that qemu-dm's "soundhw=" should support and "hda" option that would work but whatever version of qemu-dm if installed via the above mentioned xen-system-amd-64 does not give me this option.

Code: Select all

/usr/lib64/xen-4.3/bin/qemu-dm -soundhw ? 
Valid sound card names (comma separated):
sb16        Creative Sound Blaster 16
ac97        Intel 82801AA AC97 Audio
es1370      ENSONIQ AudioPCI ES1370
My question is: is there any way of adding virtual sound card support to my qemu-dm? is there a package I can upgrade/patch?
I was not able to find what exactly qemu-dm is installed by in the xen meta package

Thank you for your time.

---EDIT---
This was the worst time to post this, happy new year everyone!

powerhouse
Level 6
Level 6
Posts: 1087
Joined: Thu May 03, 2012 3:54 am
Location: Israel
Contact:

Re: Xen 4.3 virtual sound card support?

Post by powerhouse »

Just ran into your post.

Have you tried ac97 and installed a driver under Windows 7? See here: http://www.realtek.com.tw/downloads/dow ... Down=false or here: http://www.official-drivers.com/install ... ac97-sound

I suppose Windows lists the Ac97 as a sound card under Device manager?

EDIT: I tried it. The emulated "sound card" is listed alright under Windows 7, but the ancient Realtek AC97 driver didn't work. The other options with the current qemu-dm are even worse. See the output of:

Code: Select all

/usr/lib/xen-4.3/bin/qemu-dm --soundhw ?
Too bad.
Asus Sabertooth X79, i7 3930K CPU, 8x4GB Kingston DDR3, Noctua NH-D14 CPU cooler, GTX 970 + Quadro 2000 GPU, Asus Xonar Essence STX, Sandisk 120GB + Samsung EVO 860 1TB SSD + 4 HDD, Corsair 500R, SeaSonic 660W Gold X PS https://heiko-sieger.info

darthazad
Level 1
Level 1
Posts: 3
Joined: Fri Dec 27, 2013 7:12 am

Re: Xen 4.3 virtual sound card support?

Post by darthazad »

Yeah I tried all of the drivers I could find but even the ones that did install never actually worked. I also tried Gentoo but it seems to be a Xen issue, packaging old Qemu into Xen builds (or a coincidence). Unless I can learn much more about Xen, not likely with the semester starting, I think I am stuck until Xen updates. Thanks for the reply though.

powerhouse
Level 6
Level 6
Posts: 1087
Joined: Thu May 03, 2012 3:54 am
Location: Israel
Contact:

Re: Xen 4.3 virtual sound card support?

Post by powerhouse »

darthazad wrote:Yeah I tried all of the drivers I could find but even the ones that did install never actually worked. I also tried Gentoo but it seems to be a Xen issue, packaging old Qemu into Xen builds (or a coincidence). Unless I can learn much more about Xen, not likely with the semester starting, I think I am stuck until Xen updates. Thanks for the reply though.
The way I solved the sound issue: bought a cheap USB sound card for ~$7-$8, plugged it into a passed through USB port, and connected it with the line-in port of the motherboard.

Unless you have a screen connected via HDMI, with built-in speakers or a headphone jack, in which case you could use that.
Asus Sabertooth X79, i7 3930K CPU, 8x4GB Kingston DDR3, Noctua NH-D14 CPU cooler, GTX 970 + Quadro 2000 GPU, Asus Xonar Essence STX, Sandisk 120GB + Samsung EVO 860 1TB SSD + 4 HDD, Corsair 500R, SeaSonic 660W Gold X PS https://heiko-sieger.info

powerhouse
Level 6
Level 6
Posts: 1087
Joined: Thu May 03, 2012 3:54 am
Location: Israel
Contact:

Re: Xen 4.3 virtual sound card support?

Post by powerhouse »

Here is a tutorial on how to enable sound in a Windows VM running on a Xen hypervisor: http://forums.linuxmint.com/viewtopic.php?f=42&t=160527.

The method above uses "jack" in both Windows domU and Linux dom0 to tunnel the sound through the network bridge.
Asus Sabertooth X79, i7 3930K CPU, 8x4GB Kingston DDR3, Noctua NH-D14 CPU cooler, GTX 970 + Quadro 2000 GPU, Asus Xonar Essence STX, Sandisk 120GB + Samsung EVO 860 1TB SSD + 4 HDD, Corsair 500R, SeaSonic 660W Gold X PS https://heiko-sieger.info

Post Reply

Return to “Virtualization”