From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Pitcock Subject: Re: Nvidia drivers on Xen with dom0 pvops on ultra-recent "git tip"kernel on x86_64 Date: Tue, 28 Apr 2009 00:33:38 -0500 Message-ID: <1240896818.10269.75.camel@petrie> References: <949542.54584.qm@web56105.mail.re3.yahoo.com> <49A46533.1070003@goop.org> <1240816930.4387.18.camel@petrie> <49F648B5.4030003@goop.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49F648B5.4030003@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Andrew Lyon , xen-devel@lists.xensource.com, Nigel Gamble List-Id: xen-devel@lists.xenproject.org On Mon, 2009-04-27 at 17:07 -0700, Jeremy Fitzhardinge wrote: > William Pitcock wrote: > > Jeremy, I need get_phys_to_machine() and set_phys_to_machine() to be > > changed to EXPORT_SYMBOL() for this. AFAIK, the equivilant symbols are > > EXPORT_SYMBOL() in XenLinux 2.6.18. > > > > get_phys_to_machine is no problem, but I'm curious about why it needs > set_phys_to_machine. It actually doesn't appear to. > > > Can you make it happen? Also, if we had a way of knowing whether or not > > we are running under the hypervisor, I could ultimately make it work > > with the right codepaths under both configurations. > > > > In theory the driver shouldn't need to special case any code; the normal > driver API functions should do the right things in both cases. Could > you go into a bit more detail about what your needs are? Actually, something is more broken. While I got video, the X server is very crashhappy. Right now I've given up on NVidia cards and put in a Radeon x800 xt I have laying around... which just works. If you want to look at the nvidia interface code, let me know, and I'll send you my observations/patches. William