Just FYI - sound works after enabling it in w2k3 like written here:
http://blogs.msdn.com/b/virtual_pc_guy/archive/2006/06/29/648105.aspx
and there is no need for a custom hook.
On Thu, 17 May 2012 16:17:25 +0300 Nerijus Baliunas <nerijus(a)users.sourceforge.net>
wrote:
Hello,
I added a hook for sound support:
#!/usr/bin/python
#http://www.ovirt.org/wiki/Features/Serial_Console_in_CLI#Currently_operational_workaround
import os
import sys
import hooking
import traceback
try:
domxml = hooking.read_domxml()
devices = domxml.getElementsByTagName('devices')[0]
sound = domxml.createElement('sound')
sound.setAttribute('model', 'ac97')
devices.appendChild(sound)
address = domxml.createElement('address')
address.setAttribute('type', 'pci')
address.setAttribute('domain', '0x0000')
address.setAttribute('bus', '0x00')
address.setAttribute('slot', '0x06')
address.setAttribute('function', '0x0')
sound.appendChild(address)
hooking.write_domxml(domxml)
except:
#log to vdsm.log
sys.stderr.write('sound: [Unexpected Error]: %s\n' % traceback.format_exc())
sys.exit(2)
But Windows guest cannot play audio (I connect with remorte desktop connection and
rdesktop),
although a driver was installed automatically in guest. Is it possible to get sound with
rdesktop?
Regards,
Nerijus