From: Simon Horman Subject: Re: Possible bug with pass-through hot-plug? Date: Fri, 9 Oct 2009 23:09:27 +1100 Message-ID: <20091009120927.GA31495@verge.net.au> References: <20091007225211.GD2055@verge.net.au> <20091007234132.GE2055@verge.net.au> <8686c3cd0910080655lc74ac21o644d9c88cb6bddcb@mail.gmail.com> <20091008223642.GA8690@verge.net.au> <8686c3cd0910090136v633b1275k7d58c55a3645da65@mail.gmail.com> <20091009085918.GB7390@verge.net.au> <20091009090743.GC7390@verge.net.au> <8686c3cd0910090430v49101412l93c8061d83d48b43@mail.gmail.com> <20091009114720.GA29353@verge.net.au> <8686c3cd0910090449s19f7a44br91f3937f2ca485a3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <8686c3cd0910090449s19f7a44br91f3937f2ca485a3@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tom Rotenberg Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, Oct 09, 2009 at 01:49:49PM +0200, Tom Rotenberg wrote: > OK, great. > > I will be very surprised if it will work for u on a Windows VM... > BTW - do u use the (small) patch i wrote for "forcing" the device to > be on the 00:1b.0 slot? I haven't needed your patch when testing with Linux guests. The thing is, during my testing I have observed that devfn is set correctly without your patch. I was able to observe this using the debugging patch that I posted. I am suspecting that during your testing devfn is being set to an incorrect value - which your patch forcibly corrects. I strongly suspect that is due to some behaviour in xm or xend that isn't related to which OS the guest is running.