From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: Nvidia drivers on Xen with dom0 pvops on ultra-recent "git tip"kernel on x86_64 Date: Mon, 27 Apr 2009 17:07:17 -0700 Message-ID: <49F648B5.4030003@goop.org> References: <949542.54584.qm@web56105.mail.re3.yahoo.com> <49A46533.1070003@goop.org> <1240816930.4387.18.camel@petrie> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1240816930.4387.18.camel@petrie> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: William Pitcock Cc: Andrew Lyon , xen-devel@lists.xensource.com, Nigel Gamble List-Id: xen-devel@lists.xenproject.org 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. > 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? J