[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/6] The windows 7 audio support patch series.
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH 0/6] The windows 7 audio support patch series. |
Date: |
Thu, 28 Oct 2010 10:47:16 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100827 Red Hat/3.1.3-1.el6 Thunderbird/3.1.3 |
Hi,
Nice timing there. I wonder how long it took bright folks at redhat to
code this HDA stuff?
A bunch of days. Played with the usb-audio patch first. But I suspect
getting timing-sensitive isochronous usb devices emulated reasonable
well is pretty hard due to the latency requirements. And it isn't just
the usb subsytem, all qemu must improve here. Example: enabling the
threaded vnc server improves usb-audio sound quality, you don't get
dropouts on every bulky screen update then.
But for now I tried HDA route instead.
Since yesterday i was contacted by folks who wanted
to pay money to get VirtualBox's HDA ported to QEMU, and it took me from
16:00 today till basically 15 minutes ago to get the sound pumping from
DOS and Linux..
Oh, there is a HDA driver for DOS? /me looks surprised ...
Regardless of the answer to my question the NIH is such a nice thing, eh?
Sure ;) I don't do that just for fun though. I *have* looked at the
vbox driver first.
The fundamental problem is the qemu world didn't stop at the point where
vbox forked off, and of course in vbox things are changing too. We have
alot of infrastructure for drivers which isn't in vbox, and likewise the
other way around. Most notable difference is qemu's qdev is quite
useful to model the HDA bus.
So there are basically two options:
(1) Port the vbox driver to qemu, then to tons of changes and
cleanups to properly integrate into modern qemu.
(2) Start over from scratch.
I believe in the end it wouldn't have saved work to use the vbox code as
starting point.
cheers,
Gerd
- [Qemu-devel] [PATCH 5/6] Add support for a USB audio device model, (continued)
[Qemu-devel] [PATCH 6/6] Add Intel HD Audio support to qemu., Gerd Hoffmann, 2010/10/27
Re: [Qemu-devel] [PATCH 0/6] The windows 7 audio support patch series., malc, 2010/10/27