Gerd Hoffmann d61a4ce8f0 Add Intel HD Audio support to qemu.
This patch adds three devices to qemu:

intel-hda
	Intel HD Audio Controller, the PCI device.  Provides a HDA bus.
	Emulates ICH6 at the moment.  Adding a ICH9 PCIE
	variant shouldn't be hard.

hda-duplex
	HDA Codec.  Attaches to the HDA bus.  Supports 16bit stereo,
	rates 16k -> 96k, playback, recording and volume control
	(with CONFIG_MIXEMU=y).

hda-output
	HDA Codec without recording support.  Subset of the hda-duplex
	codec.  Use this if you don't want your guests access your mic.

Usage: add '-device intel-hda -device hda-duplex' to your command line.

Tested guests:
 * Linux works.
 * Win7 works.
 * DOS (mpxplay) works.
 * WinXP doesn't work.

[ v2 changes ]
 * Fixed endianess, big endian hosts work now.
 * Fixed some emulation bugs.
 * Added immediate command emulation.
 * Added vmstate support.
 * Make it behave like all other sound card drivers:
   - can be configured via '--audio-card-list=hda'
   - can be added to a VM using '-soundhw hda'
 * Code style fixups.
 * Zapped guest-triggerable asserts.
 * Handle partial reads/writes of audio data correctly.

Cc: malc <av1474@comtv.ru>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
2010-11-01 17:57:22 +03:00
2010-07-13 18:18:23 +02:00
2010-11-01 17:57:22 +03:00
2010-10-13 18:41:29 +00:00
2010-10-25 16:43:41 -05:00
2010-10-22 10:08:37 -02:00
2010-10-25 16:43:41 -05:00
2010-10-03 06:34:51 +00:00
2010-10-23 14:47:13 +00:00
2010-10-09 08:19:38 +00:00
2010-03-06 23:09:28 +01:00
2008-12-13 09:32:43 +00:00
2009-09-12 07:36:22 +00:00
2009-09-12 07:36:22 +00:00
2009-05-13 20:54:26 +01:00
2004-08-01 21:54:53 +00:00
2009-09-25 19:53:21 +00:00
2010-06-16 13:03:51 +01:00
2010-04-09 18:55:56 +02:00
2010-10-22 14:49:35 +02:00
2010-10-22 14:49:35 +02:00
2010-10-22 14:49:35 +02:00
2010-05-31 20:55:23 +02:00
2009-03-10 21:43:35 +00:00
2010-11-01 00:54:06 +03:00
2009-01-14 18:39:49 +00:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-09-10 18:47:31 +00:00
2010-10-20 16:15:04 -05:00
2010-10-20 16:15:04 -05:00
2010-11-01 17:57:22 +03:00
2008-10-12 17:54:42 +00:00
2010-10-20 16:15:04 -05:00
2010-05-24 15:18:23 -05:00
2010-04-01 21:51:59 +02:00
2010-10-03 06:34:51 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-12 07:36:22 +00:00
2010-10-20 16:15:04 -05:00
2010-03-29 19:24:00 +00:00
2009-12-17 18:12:04 +01:00
2007-09-16 20:03:23 +00:00
2010-05-22 08:02:12 +00:00
2009-10-01 16:12:16 -05:00
2010-09-09 16:22:45 -05:00
2009-10-01 16:12:16 -05:00
2010-05-10 11:36:03 -05:00
2010-05-10 11:36:03 -05:00
2010-06-11 15:25:14 -03:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2010-10-20 16:15:04 -05:00
2010-10-20 16:15:04 -05:00
2008-12-14 08:50:18 +00:00
2010-09-07 13:46:17 +02:00
2010-03-21 08:28:47 +00:00
2010-05-22 08:24:49 +00:00
2010-01-08 09:58:40 -06:00
2009-09-12 07:36:22 +00:00
2010-10-06 18:24:37 +02:00
2010-10-06 18:24:37 +02:00
2010-10-30 08:02:40 +00:00
2009-12-25 18:19:15 +00:00
2010-05-19 12:45:54 -03:00
2009-11-17 08:49:39 -06:00
2010-07-01 14:27:13 -03:00
2010-07-01 14:27:13 -03:00
2010-09-22 20:05:23 +00:00
2009-10-27 12:28:59 -05:00
2010-10-03 06:34:51 +00:00
2010-09-21 18:36:42 +02:00
2010-10-22 14:49:35 +02:00
2010-10-22 14:49:35 +02:00
2009-10-01 16:12:16 -05:00
2010-09-21 15:39:42 +02:00
2010-05-19 12:45:54 -03:00
2010-09-21 18:36:42 +02:00
2010-10-03 06:34:51 +00:00
2010-10-03 06:34:51 +00:00
2010-05-19 12:45:54 -03:00
2009-11-17 08:49:38 -06:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-10-01 10:12:43 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-09-18 05:53:14 +00:00
2008-12-14 08:50:18 +00:00
2010-10-23 14:47:13 +00:00
2010-11-01 17:57:12 +03:00
2009-09-13 19:38:43 +00:00
2010-03-14 22:04:50 +01:00
2008-12-04 11:29:42 +00:00
2009-10-01 16:12:16 -05:00
2010-06-30 22:51:17 +02:00
2009-03-05 23:01:23 +00:00
2010-07-28 07:58:15 -05:00
2008-09-06 16:31:30 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 418 MiB
Languages
Rust 68.8%
C 26.3%
C++ 3%
Python 0.9%
Shell 0.5%
Other 0.3%