From mboxrd@z Thu Jan 1 00:00:00 1970 From: malc Subject: Re: [Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model Date: Sat, 11 Sep 2010 17:53:12 +0400 (MSD) Message-ID: References: <1284155276-14959-1-git-send-email-hpa@linux.intel.com> <4C8AD6A4.5010601@linux.intel.com> <4C8AEDA4.408@zytor.com> <4C8AF1EA.4090301@zytor.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: "H. Peter Anvin" , qemu-devel@nongnu.org, kvm@vger.kernel.org To: "H. Peter Anvin" Return-path: Received: from fe01x03-cgp.akado.ru ([77.232.31.164]:59053 "EHLO akado.ru" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752429Ab0IKNxY (ORCPT ); Sat, 11 Sep 2010 09:53:24 -0400 In-Reply-To: <4C8AF1EA.4090301@zytor.com> Sender: kvm-owner@vger.kernel.org List-ID: 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:av1474@comtv.ru