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

[Xen-devel] Re: [PATCH 00/04] Kexec / Kdump: Release 20061023 (xen-unsta

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH 00/04] Kexec / Kdump: Release 20061023 (xen-unstable-11856)
From: Magnus Damm <magnus@xxxxxxxxxxxxx>
Date: Wed, 25 Oct 2006 20:25:18 +0900
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, Kazuo Moriwaka <moriwaka@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>, magnus.damm@xxxxxxxxx, Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, Horms <horms@xxxxxxxxxxxx>
Delivery-date: Thu, 26 Oct 2006 13:12:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C164F6C0.3491%Keir.Fraser@xxxxxxxxxxxx>
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: <C164F6C0.3491%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Keir!

I thought that my latest patchset ended up in a spam filter somewhere,
but it seems like it finally made it through to xen-devel!

On Wed, 2006-10-25 at 11:10 +0100, Keir Fraser wrote:
> 
> 
> On 23/10/06 10:05, "Magnus Damm" <magnus@xxxxxxxxxxxxx> wrote:
> 
> > 20060931 - Take XIV for xen-unstable-11296 posted by Simon Horman
> > 
> > Enjoy!
> 
> A couple of comments on this patchset:
> 
> Firstly, the new public header file is nicely laid out and commented
> but
> it'd be nice to add some comments to the KEXEC_TYPE_* definitions
> explaining
> what they mean. Also the same for xen_kexec_image_t (what do
> indirection_page and start_address mean?). As far as possible it would
> be
> good to have an explanation of the Xen kexec interface that stands
> alone and
> allows independent implementation to that interface (e.g., in Solaris)
> with
> as little need to crib from other kexec implementations as possible.
> So, for
> example, adding a short 'story board' comment explaining the sequence
> of
> hypercalls that would be used to set up and execute a kdump or kexec
> would
> be useful. It would be very hard to add *too many* helpful
> comments. :-)

Yeah, you can never have too many comments. I definitely agree that some
kind of story board would be nice too.

In theory it should be possible to add an independent implementation
that works with our interface, but the values passed are quite tightly
bound together with the current kexec implementation. A good example of
that is the indirection_page which is a list of pages and their
destination addresses. This page together with the start_address is used
by the code page, ie the page that is passed in page_list[0]. But we
don't actually touch that much data in the hypervisor, we just pass the
data along to the code in the code page that does the rest for us.

But more documentation, yes - added to the TODO list.

> Secondly, you appear to stuff over 1000 lines of code into the
> patches/
> directory. What is that all about? Will it go away when we move to a
> more
> recent Linux kernel (which would be an argument to hold off on merging
> until
> we have done that)?

All the git-<nnn>.patch-patches are taken from Linus git tree. They are
patches that are merged in 2.6.19-rc1. Some of the patches are needed,
and a few are pushed in just to make the other ones apply.

So yes, patches will go away. At least most of them. I have not started
trying to merge the other smaller patches yet. It is kind of difficult
to get things merged upstream when Xen is not merged yet. But if I could
say that my changes are merged into Xen then it would probably be
easier... =)

I don't think see why you should wait with the merge. But it's your call
of course. My plan is to address the issues you pointed out together
with some kdump fixes and resend early next week. How does that work
with the grand merge plan?

Thanks!

/ magnus


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