Received: from eggs.gnu.org ([140.186.70.92]:36847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9BSW-00044F-MK for qemu-devel@nongnu.org; Thu, 29 Sep 2011 03:55:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9BSV-0008JU-IM for qemu-devel@nongnu.org; Thu, 29 Sep 2011 03:55:08 -0400 Received: from e28smtp04.in.ibm.com ([122.248.162.4]:40528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9BSU-0008FC-OR for qemu-devel@nongnu.org; Thu, 29 Sep 2011 03:55:07 -0400 Received: from d28relay03.in.ibm.com (d28relay03.in.ibm.com [9.184.220.60]) by e28smtp04.in.ibm.com (8.14.4/8.13.1) with ESMTP id p8T7suwl026669 for ; Thu, 29 Sep 2011 13:24:56 +0530 Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay03.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p8T7sui53383470 for ; Thu, 29 Sep 2011 13:24:56 +0530 Received: from d28av01.in.ibm.com (loopback [127.0.0.1]) by d28av01.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p8TINGuj010108 for ; Thu, 29 Sep 2011 23:53:16 +0530 From: Wayne Gao Content-Type: text/plain; charset="UTF-8" Date: Thu, 29 Sep 2011 15:54:13 +0800 Message-ID: <1317282853.3849.15.camel@ThinkPadT420> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 06/11] hw/ac97: new support for volume control List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Marc-Andr=E9?= Lureau Cc: qemu-devel@nongnu.org Hi Marc-Andr=C3=A9, >>> --- hw/ac97.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 79 insertions(+), 0 deletions(-) =20 diff --git a/hw/ac97.c b/hw/ac97.c index ba94835..4a7c4ed 100644 --- a/hw/ac97.c +++ b/hw/ac97.c @@ -431,6 +431,63 @@ static void reset_voices (AC97LinkState *s, uint8_t=20 ; =20 ... =20 --=20 1.7.6.2 >>> According to my test, my guest OS also can support for volume control even I don't apply the patch to my code. I run my Ubuntu guest OS via the following command: qemu-system-x86_64 -M pc --enable-kvm -m 512 -smp 1 -name Ubuntu -localtime -boot c -drive file=3Dubuntu.img,if=3Dvirtio,index=3D0 -vga c= irrus -chardev stdio,id=3Dmon0 -mon chardev=3Dmon0,mode=3Dreadline -chardev socket,id=3Dmon1,host=3Dlocalhost,port=3D5554,server,nowait,telnet -mon chardev=3Dmon1,mode=3Dcontrol -soundhw ac97 By the way, my host OS is also Ubuntu 11.04 and I haven't apply your patch [PATCH 04/11] and [PATCH 05/11] for hw/ac97.c to my code. Are there any problems for my test? Best Regards Wayne Gao =20