WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Markus Armbruster <armbru@xxxxxxxxxx>, Steven Smith <sos22@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Paravirt framebuffer frontend kernel support [1/5]
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 02 Nov 2006 07:58:21 +0000
Cc: Jeremy Katz <katzj@xxxxxxxxxx>, aliguori <aliguori@xxxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, sos22@xxxxxxxxxxxxx
Delivery-date: Thu, 02 Nov 2006 13:56:58 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <87ac3az3lp.fsf@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acb+VKoI6I+GCmpHEduSCAANk04WTA==
Thread-topic: [Xen-devel] [PATCH] Paravirt framebuffer frontend kernel support [1/5]
User-agent: Microsoft-Entourage/11.2.5.060620
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