* Audio Controller Passthrough to Windows HVM Guest
@ 2009-10-21 14:42 Mr. Teo En Ming (Zhang Enming)
2009-10-22 12:17 ` Mr. Teo En Ming (Zhang Enming)
0 siblings, 1 reply; 11+ messages in thread
From: Mr. Teo En Ming (Zhang Enming) @ 2009-10-21 14:42 UTC (permalink / raw)
To: xen-devel; +Cc: space.time.universe
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@gmail.com
MSN: teoenming@hotmail.com
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Audio Controller Passthrough to Windows HVM Guest
2009-10-21 14:42 Audio Controller Passthrough to Windows HVM Guest Mr. Teo En Ming (Zhang Enming)
@ 2009-10-22 12:17 ` Mr. Teo En Ming (Zhang Enming)
2009-10-22 13:49 ` Stefano Stabellini
2009-10-22 13:59 ` Han, Weidong
0 siblings, 2 replies; 11+ messages in thread
From: Mr. Teo En Ming (Zhang Enming) @ 2009-10-22 12:17 UTC (permalink / raw)
To: xen-devel; +Cc: space.time.universe
Hi
Has anybody passed through audio controller to HVM guests before?
--
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@gmail.com
MSN: teoenming@hotmail.com
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore
On Wed, Oct 21, 2009 at 10:42 PM, Mr. Teo En Ming (Zhang Enming)
<space.time.universe@gmail.com> 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@gmail.com
> MSN: teoenming@hotmail.com
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: Audio Controller Passthrough to Windows HVM Guest
2009-10-22 12:17 ` Mr. Teo En Ming (Zhang Enming)
@ 2009-10-22 13:49 ` Stefano Stabellini
2009-10-22 14:10 ` Mr. Teo En Ming (Zhang Enming)
2009-10-22 13:59 ` Han, Weidong
1 sibling, 1 reply; 11+ messages in thread
From: Stefano Stabellini @ 2009-10-22 13:49 UTC (permalink / raw)
To: Mr. Teo En Ming (Zhang Enming); +Cc: xen-devel@lists.xensource.com
On Thu, 22 Oct 2009, Mr. Teo En Ming (Zhang Enming) wrote:
> Hi
>
> Has anybody passed through audio controller to HVM guests before?
I am not familiar with pci-stub, but with pciback this is what you
would do:
rmmod snd_hda_intel
echo -n "0000:00:1b.0" > /sys/bus/pci/devices/0000:00:1b.0/driver/unbind
echo -n "0000:00:1b.0" > /sys/bus/pci/drivers/pciback/new_slot
echo -n "0000:00:1b.0" > /sys/bus/pci/drivers/pciback/bind
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Re: Audio Controller Passthrough to Windows HVM Guest
2009-10-22 12:17 ` Mr. Teo En Ming (Zhang Enming)
2009-10-22 13:49 ` Stefano Stabellini
@ 2009-10-22 13:59 ` Han, Weidong
2009-10-22 14:31 ` Mr. Teo En Ming (Zhang Enming)
1 sibling, 1 reply; 11+ messages in thread
From: Han, Weidong @ 2009-10-22 13:59 UTC (permalink / raw)
To: 'Mr. Teo En Ming (Zhang Enming)',
'xen-devel@lists.xensource.com'
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@gmail.com> 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@gmail.com
>> MSN: teoenming@hotmail.com
>> Mobile Phone: +65-9648-9798
>> Street: Bedok Reservoir Road
>> Republic of Singapore
>>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: Audio Controller Passthrough to Windows HVM Guest
2009-10-22 13:49 ` Stefano Stabellini
@ 2009-10-22 14:10 ` Mr. Teo En Ming (Zhang Enming)
2009-10-22 14:39 ` Konrad Rzeszutek Wilk
2009-10-22 20:14 ` Kay, Allen M
0 siblings, 2 replies; 11+ messages in thread
From: Mr. Teo En Ming (Zhang Enming) @ 2009-10-22 14:10 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: xen-devel@lists.xensource.com
Seems to be roughly equivalent between pci-stub and pciback.
Wonders if there is any limitation with pci-stub.
--
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@gmail.com
MSN: teoenming@hotmail.com
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore
On Thu, Oct 22, 2009 at 9:49 PM, Stefano Stabellini
<stefano.stabellini@eu.citrix.com> wrote:
> On Thu, 22 Oct 2009, Mr. Teo En Ming (Zhang Enming) wrote:
>> Hi
>>
>> Has anybody passed through audio controller to HVM guests before?
>
> I am not familiar with pci-stub, but with pciback this is what you
> would do:
>
> rmmod snd_hda_intel
> echo -n "0000:00:1b.0" > /sys/bus/pci/devices/0000:00:1b.0/driver/unbind
> echo -n "0000:00:1b.0" > /sys/bus/pci/drivers/pciback/new_slot
> echo -n "0000:00:1b.0" > /sys/bus/pci/drivers/pciback/bind
>
>
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: Audio Controller Passthrough to Windows HVM Guest
2009-10-22 13:59 ` Han, Weidong
@ 2009-10-22 14:31 ` Mr. Teo En Ming (Zhang Enming)
2009-10-22 23:18 ` Han, Weidong
0 siblings, 1 reply; 11+ messages in thread
From: Mr. Teo En Ming (Zhang Enming) @ 2009-10-22 14:31 UTC (permalink / raw)
To: Han, Weidong; +Cc: xen-devel@lists.xensource.com
2.6.18 dom0 is conventional xen using pciback and not using pvops?
--
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@gmail.com
MSN: teoenming@hotmail.com
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore
On Thu, Oct 22, 2009 at 9:59 PM, Han, Weidong <weidong.han@intel.com> 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@gmail.com> 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@gmail.com
>>> MSN: teoenming@hotmail.com
>>> Mobile Phone: +65-9648-9798
>>> Street: Bedok Reservoir Road
>>> Republic of Singapore
>>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: Audio Controller Passthrough to Windows HVM Guest
2009-10-22 14:10 ` Mr. Teo En Ming (Zhang Enming)
@ 2009-10-22 14:39 ` Konrad Rzeszutek Wilk
2009-10-22 20:14 ` Kay, Allen M
1 sibling, 0 replies; 11+ messages in thread
From: Konrad Rzeszutek Wilk @ 2009-10-22 14:39 UTC (permalink / raw)
To: Mr. Teo En Ming (Zhang Enming)
Cc: xen-devel@lists.xensource.com, Stefano Stabellini
On Thu, Oct 22, 2009 at 10:10:48PM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
> Seems to be roughly equivalent between pci-stub and pciback.
>
> Wonders if there is any limitation with pci-stub.
For HVM, there is none.
It would be helpful if you could get more data in the guest then just
the 'disabled device', but I am quite ignorant of Windows XP and how to
do that there.
Perhaps you can install FC11 as your HVM guest and see what kind of
warnings/errors it shows up when you pass-through your audio + USB?
.. snip ..
> > I am not familiar with pci-stub, but with pciback this is what you
The same thing.
> > would do:
> >
> > rmmod snd_hda_intel
> > echo -n "0000:00:1b.0" > /sys/bus/pci/devices/0000:00:1b.0/driver/unbind
> > echo -n "0000:00:1b.0" > /sys/bus/pci/drivers/pciback/new_slot
> > echo -n "0000:00:1b.0" > /sys/bus/pci/drivers/pciback/bind
> >
> >
> >
> >
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Re: Audio Controller Passthrough to Windows HVM Guest
2009-10-22 14:10 ` Mr. Teo En Ming (Zhang Enming)
2009-10-22 14:39 ` Konrad Rzeszutek Wilk
@ 2009-10-22 20:14 ` Kay, Allen M
1 sibling, 0 replies; 11+ messages in thread
From: Kay, Allen M @ 2009-10-22 20:14 UTC (permalink / raw)
To: Mr. Teo En Ming (Zhang Enming), Stefano Stabellini
Cc: xen-devel@lists.xensource.com
Pci-stub and pciback are equivalent for HVM guest. They both are used to "hide" the passthrough device from the device drivers in dom0 kernel.
-----Original Message-----
From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Mr. Teo En Ming (Zhang Enming)
Sent: Thursday, October 22, 2009 7:11 AM
To: Stefano Stabellini
Cc: xen-devel@lists.xensource.com
Subject: Re: [Xen-devel] Re: Audio Controller Passthrough to Windows HVM Guest
Seems to be roughly equivalent between pci-stub and pciback.
Wonders if there is any limitation with pci-stub.
--
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@gmail.com
MSN: teoenming@hotmail.com
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore
On Thu, Oct 22, 2009 at 9:49 PM, Stefano Stabellini
<stefano.stabellini@eu.citrix.com> wrote:
> On Thu, 22 Oct 2009, Mr. Teo En Ming (Zhang Enming) wrote:
>> Hi
>>
>> Has anybody passed through audio controller to HVM guests before?
>
> I am not familiar with pci-stub, but with pciback this is what you
> would do:
>
> rmmod snd_hda_intel
> echo -n "0000:00:1b.0" > /sys/bus/pci/devices/0000:00:1b.0/driver/unbind
> echo -n "0000:00:1b.0" > /sys/bus/pci/drivers/pciback/new_slot
> echo -n "0000:00:1b.0" > /sys/bus/pci/drivers/pciback/bind
>
>
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Re: Audio Controller Passthrough to Windows HVM Guest
2009-10-22 14:31 ` Mr. Teo En Ming (Zhang Enming)
@ 2009-10-22 23:18 ` Han, Weidong
2009-10-23 14:30 ` Mr. Teo En Ming (Zhang Enming)
0 siblings, 1 reply; 11+ messages in thread
From: Han, Weidong @ 2009-10-22 23:18 UTC (permalink / raw)
To: 'Mr. Teo En Ming (Zhang Enming)'
Cc: 'xen-devel@lists.xensource.com'
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@intel.com>
> 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@gmail.com> 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@gmail.com
>>>> MSN: teoenming@hotmail.com
>>>> Mobile Phone: +65-9648-9798
>>>> Street: Bedok Reservoir Road
>>>> Republic of Singapore
>>>>
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: Audio Controller Passthrough to Windows HVM Guest
2009-10-22 23:18 ` Han, Weidong
@ 2009-10-23 14:30 ` Mr. Teo En Ming (Zhang Enming)
2009-10-23 17:41 ` Mr. Teo En Ming (Zhang Enming)
0 siblings, 1 reply; 11+ messages in thread
From: Mr. Teo En Ming (Zhang Enming) @ 2009-10-23 14:30 UTC (permalink / raw)
To: Han, Weidong; +Cc: xen-devel@lists.xensource.com, space.time.universe
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@gmail.com
MSN: teoenming@hotmail.com
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@intel.com> 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@intel.com>
>> 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@gmail.com> 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@gmail.com
>>>>> MSN: teoenming@hotmail.com
>>>>> Mobile Phone: +65-9648-9798
>>>>> Street: Bedok Reservoir Road
>>>>> Republic of Singapore
>>>>>
>>>>
>>>> _______________________________________________
>>>> Xen-devel mailing list
>>>> Xen-devel@lists.xensource.com
>>>> http://lists.xensource.com/xen-devel
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: Audio Controller Passthrough to Windows HVM Guest
2009-10-23 14:30 ` Mr. Teo En Ming (Zhang Enming)
@ 2009-10-23 17:41 ` Mr. Teo En Ming (Zhang Enming)
0 siblings, 0 replies; 11+ messages in thread
From: Mr. Teo En Ming (Zhang Enming) @ 2009-10-23 17:41 UTC (permalink / raw)
To: Han, Weidong; +Cc: xen-devel@lists.xensource.com, space.time.universe
This is my Windows XP Home HVM configuration:
#import os, re
#arch = os.uname()[4]
#if re.search('64', arch):
# arch_libdir = 'lib64'
#else:
# arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 3072
# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
#shadow_memory = 8
name = "winxphome32"
vif = [ 'bridge=eth0' ]
acpi = 1
apic = 1
disk = [ 'phy:/dev/virtualmachines/winxphome32,hda,w',
'phy:/dev/sr0,hdc:cdrom,r' ]
#device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
#device_model = '/usr/' + 'lib' + '/xen/bin/qemu-dm'
device_model = 'qemu-dm'
#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="cd"
sdl=0
vnc=1
vnclisten="192.168.1.2"
vncdisplay=1
vncunused=1
vncconsole=0
vncpasswd=''
#serial='pty'
#usbdevice='tablet'
# onboard
#pci = [ '00:02.0' ]
# nVidia Geforce 8400 GS & firewire controller & HD audio controller
pci = [ '01:00.0','02:01.0','00:1b.0' ]
vcpus=2
# No passthrough
#gfx_passthru=0
# onboard
#gfx_passthru=1
# nvidia
gfx_passthru=2
# Can only pass through one usb device at a time
usb=1
# USB Unity Green Mouse
#usbdevice = 'host:1bcf:0007'
# USB A1pro Black Mouse
usbdevice = 'host:15d9:0a41'
# USB Keyboard
#usbdevice = 'host:0603:00f2'
# USB Sony IC Recorder
#usbdevice = 'host:054c:0271'
# USB Lexmark X1270 Color Printer
#usbdevice = 'host:043d:00ff'
# USB Lexmark X1270 Photo Scanner
#usbdevice = 'host:043d:007d'
# USB Lexmark X1270 Generic Hub
#usbdevice = 'host:043d:007a'
--
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@gmail.com
MSN: teoenming@hotmail.com
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore
On Fri, Oct 23, 2009 at 10:30 PM, Mr. Teo En Ming (Zhang Enming)
<space.time.universe@gmail.com> wrote:
> 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@gmail.com
> MSN: teoenming@hotmail.com
> 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@intel.com> 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@intel.com>
>>> 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@gmail.com> 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@gmail.com
>>>>>> MSN: teoenming@hotmail.com
>>>>>> Mobile Phone: +65-9648-9798
>>>>>> Street: Bedok Reservoir Road
>>>>>> Republic of Singapore
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Xen-devel mailing list
>>>>> Xen-devel@lists.xensource.com
>>>>> http://lists.xensource.com/xen-devel
>>
>>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2009-10-23 17:41 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-21 14:42 Audio Controller Passthrough to Windows HVM Guest Mr. Teo En Ming (Zhang Enming)
2009-10-22 12:17 ` Mr. Teo En Ming (Zhang Enming)
2009-10-22 13:49 ` Stefano Stabellini
2009-10-22 14:10 ` Mr. Teo En Ming (Zhang Enming)
2009-10-22 14:39 ` Konrad Rzeszutek Wilk
2009-10-22 20:14 ` Kay, Allen M
2009-10-22 13:59 ` Han, Weidong
2009-10-22 14:31 ` Mr. Teo En Ming (Zhang Enming)
2009-10-22 23:18 ` Han, Weidong
2009-10-23 14:30 ` Mr. Teo En Ming (Zhang Enming)
2009-10-23 17:41 ` Mr. Teo En Ming (Zhang Enming)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.