WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: Audio Controller Passthrough to Windows HVM Guest

To: "Han, Weidong" <weidong.han@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: Audio Controller Passthrough to Windows HVM Guest
From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
Date: Fri, 23 Oct 2009 22:30:58 +0800
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, space.time.universe@xxxxxxxxx
Delivery-date: Fri, 23 Oct 2009 07:31:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=4XtaqBCWNusvq5IPVcPb3Jnd3pdzSV8FWhXtZ0N3JfI=; b=I3xAxl8EKynWqcl+LgwAU4TfhkcGrj41rSWPpeWteUzv/QRfKeVfmtNM5ovuNhJdBK Yik0IPkb2W5L23JKGyIeYBtQHY/EBsxorqe2LESYRNa6c+Q0kVyVlNwF9D3ymjPFbgVx 1HkAgpen9VlaYnem+PudX1h1AYU7ZIxnG0N44=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rXTySDT2h5tXmNrA3eFY3UnzwRZlJWKL/EUylCXeXbG71p+VAzXm6k4c77mGDNq97Q wvbK+QVHRBroZ2ZnsWR7JkgxnrZTolILXap7FaXUUUgvsvlvurJfK6LD5CFXJW0p9fY4 UojcoV3s7wk0rGA3iTufuqfiV8Yf32UOqVyQk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <715D42877B251141A38726ABF5CABF2C05509A72F1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f712b9cf0910210742v5137460akeb55b3bd099fa52d@xxxxxxxxxxxxxx> <f712b9cf0910220517u5ba441fdv5a8e37cd289ba57e@xxxxxxxxxxxxxx> <715D42877B251141A38726ABF5CABF2C05509A72C1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <f712b9cf0910220731q6d15097dn38f761c84837878d@xxxxxxxxxxxxxx> <715D42877B251141A38726ABF5CABF2C05509A72F1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I have successfully passed through the HD audio controller on the
Intel Desktop Board DQ45CB to Windows XP Home HVM guest.

The reason it did not work earlier was because I had forgotten to
specifiy the BDF of the audio controller in the Windows XP HVM
configuration file. So the audio controller detection did not pop up
in Windows.

After specifying the BDF of the audio controller in the HVM config, I
downloaded the SoundMAX audio driver from the official Intel website
and installed it. After a reboot, I finally have sound in my Windows
XP virtual machine.

I will post more details later on.

-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@xxxxxxxxx
MSN: teoenming@xxxxxxxxxxx
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore



On Fri, Oct 23, 2009 at 7:18 AM, Han, Weidong <weidong.han@xxxxxxxxx> wrote:
> I think it doesn't matter to use pciback or pci-stub to hide device. Seems we 
> also tested it with pv-ops dom0. I can double check it.
>
> pls post the qemu log (/var/log/xen/qemu-dm-xxx.log) and output of 'xm demsg'.
>
> Regards,
> Weidong
>
> Mr. Teo En Ming (Zhang Enming) wrote:
>> 2.6.18 dom0 is conventional xen using pciback and not using pvops?
>>
>>
>> On Thu, Oct 22, 2009 at 9:59 PM, Han, Weidong <weidong.han@xxxxxxxxx>
>> wrote:
>>> We successfully passed through audio controller to hvm guest before
>>> (with 2.6.18 dom0), but we didn't try it for a while.
>>>
>>> Can you see any error messages in 'xm dmesg' or qemu log?
>>>
>>> Regards,
>>> Weidong
>>>
>>> Mr. Teo En Ming (Zhang Enming) wrote:
>>>> Hi
>>>>
>>>> Has anybody passed through audio controller to HVM guests before?
>>>>
>>>>
>>>> On Wed, Oct 21, 2009 at 10:42 PM, Mr. Teo En Ming (Zhang Enming)
>>>> <space.time.universe@xxxxxxxxx> wrote:
>>>>> Hi
>>>>>
>>>>> I have tried to passthrough the HD audio controller on the Intel
>>>>> DQ45CB motherboard using the following method but the audio device
>>>>> did not show up in Win XP domU.
>>>>>
>>>>> Are the below commands correct and sufficient?
>>>>>
>>>>> echo "8086 3a6e" > /sys/bus/pci/drivers/pci-stub/new_id
>>>>> echo "0000:00:1b.0" >
>>>>> /sys/bus/pci/devices/0000:00:1b.0/driver/unbind echo
>>>>> "0000:00:1b.0" > /sys/bus/pci/drivers/pci-stub/bind
>>>>>
>>>>> rmmod snd_hda_intel
>>>>>
>>>>> I am also trying to passthrough the nVidia GeForce 8400 GS PCI
>>>>> Express x16 graphics card and Firewire controller to Win XP domU
>>>>> at the same time.
>>>>>
>>>>> VGA passthrough was successful but firewire and audio controller
>>>>> passthrough are not working.
>>>>>
>>>>>
>>>>> --
>>>>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
>>>>> BEng(Hons)(Mechanical Engineering) Alma Maters:
>>>>> (1) Singapore Polytechnic
>>>>> (2) National University of Singapore
>>>>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
>>>>> Email: space.time.universe@xxxxxxxxx
>>>>> MSN: teoenming@xxxxxxxxxxx
>>>>> Mobile Phone: +65-9648-9798
>>>>> Street: Bedok Reservoir Road
>>>>> Republic of Singapore
>>>>>
>>>>
>>>> _______________________________________________
>>>> Xen-devel mailing list
>>>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>>>> http://lists.xensource.com/xen-devel
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel