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

[RFC][PATCH] changed foreing ia64-domain page mapping semantic (was Re:

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: [RFC][PATCH] changed foreing ia64-domain page mapping semantic (was Re: [Xen-ia64-devel] xen-ia64-unstable.hg breakage)
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Thu, 30 Nov 2006 22:01:23 +0900
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 30 Nov 2006 05:01:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1164843410.5977.36.camel@lappy>
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: <1164843410.5977.36.camel@lappy>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
With this patch, I can successfully create domU.
The issue I haven't solved is how to initialize shared_info page.
Currently the shared info for domU can be accessed only via
fixed virtual address.
With this patch, it is done in xen as work around when
XEN_DOMCTL_arch_setup.
Should XENMEM_add_to_physmap with XENMAPSPACE_shared_info be used?
Any other Ideas?

about this patch:
changed foreing ia64-domain page mapping semantic.
x86 foreing HVM domain page mapping semantic was changed to use gmfn
instead mfn. Exactly it applies to domains with auto_translated_mode
enabled and all ia64 domain's auto_translated_mode is enabled.
This patch changes ia64 foreign domain page mapping to use gmfn and
fix ia64 domU buidler up.
However this patch broke domain save/restore/dump-core.
They should also be fixed-up

thanks.

On Wed, Nov 29, 2006 at 04:36:50PM -0700, Alex Williamson wrote:
> Hi all,
> 
>    I've merged with xen-ustable and added Isaku's xenoprof patches and
> Anthony's vIOSAPIC patch.  Thanks for submitting these, they get us
> close to having a working tree.  We still have some work to do.  I went
> ahead an pushed out the changes even though things are broken so that we
> can fix them before 3.0.4.  If you're not interested in debugging the
> tree, xen-ia64-unstable.hg changeset 12525 was the last one prior to the
> upstream merges.
> 
>    The attached patch enables everything to build and boot up to a dom0
> and starting xend.  Creating paravirtualized domains will fail (I
> suspect the same is true of hvm domains).  I've noted areas in the patch
> that need more work, specifically (but not limited to):
> 
>       * HVMOP_set_irq_level references are #ifdef'd out.  Anthony,
>         should these be removed permanently?
>       * I added oprofile to the buildconfig to work around the problem I
>         mentioned last night:
>         
> http://lists.xensource.com/archives/html/xen-ia64-devel/2006-11/msg00323.html 
> I'm ok with turning this on in the default config, but we need to resolve the 
> dependencies properly when oprofile is not enabled (Isaku?)
>       * The HVM domain builder changed significantly.  I updated it
>         enough to build, but things are likely missing (like
>         add_vcpus_hob()).
>       * xc_domain_translate_gpfn_list() is gone.  This may affect both
>         the linux and hvm builders.  On domU, xc_map_foreign_range() is
>         not happy when setting up start_info.
> 
> Please review the patch and let me know what's valid, what's wrong, and
> what's missing.  I'm sure it's not inclusive of all the problems we're
> going to need to fix, xen-unstable has been busy.  Thanks for your help,
> 
>       Alex
> 
> 
> -- 
> Alex Williamson                             HP Open Source & Linux Org.
> 
> 


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

-- 
yamahata

Attachment: 12661_277d295f5764_ia64_gmfn_foreign_domain_page_mapping.patch
Description: Text document

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>