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

[RFC][PATCH] changed foreing ia64-domain page mapping semantic (was Re: [Xen-ia64-devel] xen-ia64-unstable.hg breakage)



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

 


Rackspace

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