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

Re: [Xen-devel] [PATCH] Paravirt framebuffer frontend kernel support [1/5]



On 2/11/06 7:53 am, "Markus Armbruster" <armbru@xxxxxxxxxx> wrote:

> However, xc_domain_translate_gpfn_list() always fails with EINVAL for
> me.  If I read its code correctly, this can happen because op.nr_gpfns
> is too large, or !shadow_mode_translate().  I suspect its the latter.
> Should I call it only when in shadow translate mode?  How to check for
> that?  Or am I doing something wrong?

If the call returns -EINVAL you can carry on. The guest is not
shadow-translate and so you already had an MFN in hand in the first place.
We will soon get rid of these translate_gpfn calls anyway, as I'll change
Xen to accept GMFNs when mapping foreign pages.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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