Re: [Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-10-14 Thread H. Peter Anvin
On 10/14/2010 09:18 AM, Alon Levy wrote: > > Can you elaborate? > The quality of rate information is too low, and the delays in the system are too large to enable consistent convergence. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on th

Re: [Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-10-14 Thread Alon Levy
- "H. Peter Anvin" wrote: > On 10/14/2010 06:51 AM, Mike Snitzer wrote: > > > > Was just wondering if you've been able to put some time to the > > rate-matching issues? > > > > Has this usb-audio patch evolved and I'm just missing it? > > > > Thanks for doing this work! > > Mike > > > >

[Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-10-14 Thread H. Peter Anvin
On 10/14/2010 06:51 AM, Mike Snitzer wrote: > > Was just wondering if you've been able to put some time to the > rate-matching issues? > > Has this usb-audio patch evolved and I'm just missing it? > > Thanks for doing this work! > Mike > The sad result really is: it doesn't work, and it probab

[Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-10-14 Thread Mike Snitzer
On Tue, Sep 14, 2010 at 1:56 AM, H. Peter Anvin wrote: > On 09/13/2010 06:37 PM, Amos Kong wrote: >> I've heard wonderful music (guest:win7), but mixed with a litte noise, not >> so fluent. >> The following debug msg is normal? > > Yes, all of that is normal.  I talked to malc earlier today, and

[Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-13 Thread H. Peter Anvin
On 09/13/2010 06:37 PM, Amos Kong wrote: > > Hello Peter, > >> What shell is your /bin/sh? > > dash, > It's fine when using bash, I suggest to use a common way. > Yes, I'll fix it. > I've heard wonderful music (guest:win7), but mixed with a litte noise, not so > fluent. > The following debu

[Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-13 Thread Amos Kong
On Mon, Sep 13, 2010 at 02:04:57PM -0700, H. Peter Anvin wrote: > On 09/13/2010 01:53 PM, Amos Kong wrote: > > > > # patch -p1 < /tmp/usb-audio.patch > > # ./configure > > ... > > ... > > preadv supportyes > > fdatasync yes > > uuid support no > > vhost-net support no > > Trace ba

[Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-13 Thread H. Peter Anvin
On 09/13/2010 01:53 PM, Amos Kong wrote: > > # patch -p1 < /tmp/usb-audio.patch > # ./configure > ... > ... > preadv supportyes > fdatasync yes > uuid support no > vhost-net support no > Trace backend nop > Trace output file trace- > ./configure: 2276: Bad substitution > > >

[Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-13 Thread H. Peter Anvin
On 09/13/2010 01:53 PM, Amos Kong wrote: > > # patch -p1 < /tmp/usb-audio.patch > # ./configure > ... > ... > preadv supportyes > fdatasync yes > uuid support no > vhost-net support no > Trace backend nop > Trace output file trace- > ./configure: 2276: Bad substitution > Wha

[Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-13 Thread Amos Kong
On Fri, Sep 10, 2010 at 02:47:56PM -0700, H. Peter Anvin wrote: > I discovered that none of the audio device models supported by current > Qemu/KVM appear to be supported out of the box on Win7 64 bit (AC97 > works fine on 32 bit). The most logical ways to fix that would be to > add a long-term su

[Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-11 Thread H. Peter Anvin
On 09/11/2010 12:41 AM, Stefan Hajnoczi wrote: > On Fri, Sep 10, 2010 at 10:47 PM, H. Peter Anvin wrote: >> diff --git a/hw/usb-audio.c b/hw/usb-audio.c >> new file mode 100644 >> index 000..d4cf488 >> --- /dev/null >> +++ b/hw/usb-audio.c >> @@ -0,0 +1,702 @@ >> +/* >> + * QEMU USB Net device

[Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-11 Thread H. Peter Anvin
It would certainly be a worthwhile project. "Alexander Graf" wrote: > >On 11.09.2010, at 03:08, H. Peter Anvin wrote: > >[snip] > >> I know. Someone else is welcome to do that... since it would require >> knowing both the VirtualBox and the Qemu sound subsystem interfaces and >> in what ways th

Re: [Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-11 Thread H. Peter Anvin
I meant just take the Fedora 13 DVD and install it onto a virtual hard disk. More later when I'm at a real computer. "malc" wrote: >On Fri, 10 Sep 2010, H. Peter Anvin wrote: > >> On 09/10/2010 07:47 PM, H. Peter Anvin wrote: >> > On 09/10/2010 06:08 PM, H. Peter Anvin wrote: >> >> >> >> Any r

Re: [Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-11 Thread malc
On Fri, 10 Sep 2010, H. Peter Anvin wrote: > On 09/10/2010 07:47 PM, H. Peter Anvin wrote: > > On 09/10/2010 06:08 PM, H. Peter Anvin wrote: > >> > >> Any remotely recent stock distro should have support for it. I say > >> "should", because I haven't actually tested it with a Linux guest yet. > >

[Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-11 Thread Alexander Graf
On 11.09.2010, at 03:08, H. Peter Anvin wrote: [snip] > I know. Someone else is welcome to do that... since it would require > knowing both the VirtualBox and the Qemu sound subsystem interfaces and > in what ways they are similar or different. They should be reasonably close. About 80% of the

[Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-11 Thread Stefan Hajnoczi
On Fri, Sep 10, 2010 at 10:47 PM, H. Peter Anvin wrote: > diff --git a/hw/usb-audio.c b/hw/usb-audio.c > new file mode 100644 > index 000..d4cf488 > --- /dev/null > +++ b/hw/usb-audio.c > @@ -0,0 +1,702 @@ > +/* > + * QEMU USB Net devices > + * > + * Copyright (c) 2006 Thomas Sailer > + * Copy

Re: [Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-10 Thread H. Peter Anvin
On 09/10/2010 07:47 PM, H. Peter Anvin wrote: > On 09/10/2010 06:08 PM, H. Peter Anvin wrote: >> >> Any remotely recent stock distro should have support for it. I say >> "should", because I haven't actually tested it with a Linux guest yet. >> >> I'll try to do that later; I have to leave now. >>

Re: [Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-10 Thread H. Peter Anvin
On 09/10/2010 06:08 PM, H. Peter Anvin wrote: > > Any remotely recent stock distro should have support for it. I say > "should", because I haven't actually tested it with a Linux guest yet. > > I'll try to do that later; I have to leave now. > Just tested it on a stock Fedora 13 64 bit VM; it

[Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-10 Thread H. Peter Anvin
On 09/10/2010 05:28 PM, malc wrote: > On Fri, 10 Sep 2010, H. Peter Anvin wrote: > >> I discovered that none of the audio device models supported by current >> Qemu/KVM appear to be supported out of the box on Win7 64 bit (AC97 >> works fine on 32 bit). The most logical ways to fix that would be

[Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model

2010-09-10 Thread malc
On Fri, 10 Sep 2010, H. Peter Anvin wrote: > I discovered that none of the audio device models supported by current > Qemu/KVM appear to be supported out of the box on Win7 64 bit (AC97 > works fine on 32 bit). The most logical ways to fix that would be to > add a long-term supportable audio devi