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] Question about mmu_update

To: xen-devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Question about mmu_update
From: Simon Kagstrom <simon.kagstrom@xxxxxx>
Date: Thu, 16 Feb 2006 13:11:40 +0100
Delivery-date: Thu, 16 Feb 2006 12:24:05 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <87y80e9hcs.wl%simon.kagstrom@xxxxxx>
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>
References: <87y80e9hcs.wl%simon.kagstrom@xxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Wanderlust/2.11.30 (Wonderwall) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.4 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI)
At Tue, 14 Feb 2006 14:53:39 +0100,
Simon Kagstrom wrote:
> ------------------------------------------------------------
> new[NR_GRANT_FRAMES].ptr = phys_to_machine(to_phys(pgdir)) + sizeof(void*) * 
> l2_table_offset(XEN_GNTTAB_START);
> new[NR_GRANT_FRAMES].val = phys_to_machine(pgtab) | (L1_PROT & ~_PAGE_RW);
> 
> BUG_ON(HYPERVISOR_mmu_update(new, 1, NULL, DOMID_SELF) < 0);
> ------------------------------------------------------------

I've also tried to set val to 0, and I still get the same problem:

------------------------------------------------------------
(XEN) DOM7: (file=mm.c, line=352) Could not get page ref for pfn 921c0183
(XEN) DOM7: (file=mm.c, line=2042) Could not get page for normal update
------------------------------------------------------------

I'm puzzled. The pfn given there looks all wrong, and I'm not sure
what is wrong with this code. The page directory is taken directly
from start_info (pt_base). Does anyone see what I do wrong?

// Simon

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

<Prev in Thread] Current Thread [Next in Thread>