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 their behalf.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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
> > 
> 
> The sad result really is: it doesn't work, and it probably will never
> work.
> 

Can you elaborate?

>   -hpa
> 
> -- 
> H. Peter Anvin, Intel Open Source Technology Center
> I work for Intel.  I don't speak on their behalf.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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 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 behaves exactly the
>> > same way as under Win7.
>> 
>
>Sorry but I have no idea what "stock Fedora 13 64 bit VM" is.
>
>> Just for the sake of completeness, the Qemu command line was:
>> 
>> ~/qemu/git-kvm/x86_64-softmmu/qemu-system-x86_64 -enable-kvm -smp 2 -m
>> 1024 -usb -soundhw usb -hda qemu-fc13-64.img -serial stdio
>> 
>> ... and this was with the usb-audio patch applied against top of the the
>> qemu-kvm git tree (the patch applies against the top of the main qemu
>> tree too, but because KVM isn't very stable there it was faster to use
>> the KVM tree.)
>  ^^^ this doesn't parse, somewhere QEMU was replaced by KVM i think
>
>
>Anywho, i tried it with linux-test and custom/minimal compiled 2.6.32 [1]
>
>x86_64-softmmu/qemu-system-x86_64 -kernel \
>~/x/bld/linux-2.6.32/arch/x86_64/boot/bzImage -append "root=/dev/hda" \
>-vnc :0 -soundhw usb ~/x/img/linux-0.2.img -usb [-enable-kvm]
>^^^ this has no consequence [2]
>
>Inside the guest `$ madplay 20thfull.mp2' and things sounded fine with OSS,
>with ALSA the story is somewhat different, it stuttered for a while but then
>settled and things went back to smooth playback.
>
>So i need a reproduction scenario
>
>[1] .config available on request
>[2] Well actually it has - on the speed `-enable-kvm' makes boot sluggish
>for whatever reason
>
>-- 
>mailto:av1...@comtv.ru

-- 
Sent from my mobile phone.  Please pardon any lack of formatting.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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.
> >>
> >> I'll try to do that later; I have to leave now.
> >>
> > 
> > Just tested it on a stock Fedora 13 64 bit VM; it behaves exactly the
> > same way as under Win7.
> 

Sorry but I have no idea what "stock Fedora 13 64 bit VM" is.

> Just for the sake of completeness, the Qemu command line was:
> 
> ~/qemu/git-kvm/x86_64-softmmu/qemu-system-x86_64 -enable-kvm -smp 2 -m
> 1024 -usb -soundhw usb -hda qemu-fc13-64.img -serial stdio
> 
> ... and this was with the usb-audio patch applied against top of the the
> qemu-kvm git tree (the patch applies against the top of the main qemu
> tree too, but because KVM isn't very stable there it was faster to use
> the KVM tree.)
  ^^^ this doesn't parse, somewhere QEMU was replaced by KVM i think


Anywho, i tried it with linux-test and custom/minimal compiled 2.6.32 [1]

x86_64-softmmu/qemu-system-x86_64 -kernel \
~/x/bld/linux-2.6.32/arch/x86_64/boot/bzImage -append "root=/dev/hda" \
-vnc :0 -soundhw usb ~/x/img/linux-0.2.img -usb [-enable-kvm]
^^^ this has no consequence [2]

Inside the guest `$ madplay 20thfull.mp2' and things sounded fine with OSS,
with ALSA the story is somewhat different, it stuttered for a while but then
settled and things went back to smooth playback.

So i need a reproduction scenario

[1] .config available on request
[2] Well actually it has - on the speed `-enable-kvm' makes boot sluggish
for whatever reason

-- 
mailto:av1...@comtv.ru
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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.
>>
> 
> Just tested it on a stock Fedora 13 64 bit VM; it behaves exactly the
> same way as under Win7.

Just for the sake of completeness, the Qemu command line was:

~/qemu/git-kvm/x86_64-softmmu/qemu-system-x86_64 -enable-kvm -smp 2 -m
1024 -usb -soundhw usb -hda qemu-fc13-64.img -serial stdio

... and this was with the usb-audio patch applied against top of the the
qemu-kvm git tree (the patch applies against the top of the main qemu
tree too, but because KVM isn't very stable there it was faster to use
the KVM tree.)

-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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 behaves exactly the
same way as under Win7.

-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html