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-ia64-devel

Re: [Xen-ia64-devel] [Patch] Fix for re-enabling PV-on-HVM on IPF

To: Doi.Tsunehisa@xxxxxxxxxxxxxx
Subject: Re: [Xen-ia64-devel] [Patch] Fix for re-enabling PV-on-HVM on IPF
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Wed, 7 Mar 2007 10:37:23 +0900
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 06 Mar 2007 17:36:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200703062355.l26NtJJ27240@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20070306145920.GA26842%yamahata@xxxxxxxxxxxxx> <200703062355.l26NtJJ27240@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Wed, Mar 07, 2007 at 08:55:19AM +0900, Doi.Tsunehisa@xxxxxxxxxxxxxx wrote:
>   I've thought that this patch is tricky, but I didn't find the
> correct way to modify to avoid hypervisor crash issue.

Wrong patch is worse than crash.


>   Currently, without this patch, hypervisor crashes in PV-on-HVM
> initialization phase..
> 
>   * at share_info page remapping: success
>     - called from HYPERVISOR_memory_op in init_xen_info()..
>       (unmodified_drivers/linux-2.6/platform-pci/platform-pci.c)
>   * at grant table page remapping: crash
>     - called from gnttab_init() in init_xen_info()
>     - call tree in driver code is 
>       gnttab_init() -> gnttab_resume() -> gnttab_map()
>          -> HYPERVISOR_memory_op
>       (linux-2.6-xen-sparse/drivers/xen/core/gnttab.c)
>     - at guest_physmap_add_page() in hypervisor code,


The grant table shared pages are owned by the domain
so that get_page() shouldn't fail.

Why get_page() fails?
The c/s 14010:01476c7804b2 of xen-ia64-unstable.hg twists
the grant table initialization a little.
Does it affect on vt-i domain initialization?
-- 
yamahata

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