[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] HYPERVISOR_memory_op XENMAPSPACE_shared_info failing under windows 64 bit

  • To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
  • Date: Wed, 23 Jan 2008 00:15:38 +1100
  • Delivery-date: Tue, 22 Jan 2008 05:16:09 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Achc+OG6dDrZ/MR9T6et0LU+WYG5zg==
  • Thread-topic: HYPERVISOR_memory_op XENMAPSPACE_shared_info failing under windows 64 bit

I'm now seeing what is involved in getting the windows GPL PV drivers
working under windows 64 bit (amd64), and it is crashing out almost

I have confirmed with the debugger that I am mapping the hypercall stuff
in correctly, but when I try to map the shared info page in I get a -22

Looking at the hypervisor code, the only place I can see where that code
path would return -EINVAL is:

        if ( !paging_mode_translate(d) || (mfn == 0) )
            return -EINVAL;

So either mfn == 0, or (!paging_mode_translate(d)) == TRUE. The only way
I can see that the first could be true is if my xen_add_to_physmap
structure were corrupt or something.

Can anyone offer any suggestions?

Incidently, why is the gpfn field in xen_add_to_physmap only 32 bits?



Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.