From: "Mr. Teo En Ming (Zhang Enming)" Subject: Re: Re: Audio Controller Passthrough to Windows HVM Guest Date: Thu, 22 Oct 2009 22:10:48 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 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 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 > > > >