This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Nvidia drivers on Xen with dom0 pvops on ultra-recent "g

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.


Xen-devel mailing list