[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87ehhsqrpr.fsf@xmission.com>
Date: Thu, 10 Jan 2013 20:16:48 -0800
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
Cc: Daniel Kiper <daniel.kiper@...cle.com>,
"xen-devel\@lists.xensource.com" <xen-devel@...ts.xensource.com>,
"H. Peter Anvin" <hpa@...or.com>,
Andrew Cooper <andrew.cooper3@...rix.com>,
"x86\@kernel.org" <x86@...nel.org>,
"kexec\@lists.infradead.org" <kexec@...ts.infradead.org>,
"linux-kernel\@vger.kernel.org" <linux-kernel@...r.kernel.org>,
"virtualization\@lists.linux-foundation.org"
<virtualization@...ts.linux-foundation.org>,
"mingo\@redhat.com" <mingo@...hat.com>,
Jan Beulich <JBeulich@...e.com>,
"maxim.uvarov\@oracle.com" <maxim.uvarov@...cle.com>,
"tglx\@linutronix.de" <tglx@...utronix.de>,
"vgoyal\@redhat.com" <vgoyal@...hat.com>
Subject: Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com> writes:
> On Mon, Jan 07, 2013 at 01:34:04PM +0100, Daniel Kiper wrote:
>> I think that new kexec hypercall function should mimics kexec syscall.
>> It means that all arguments passed to hypercall should have same types
>> if it is possible or if it is not possible then conversion should be done
>> in very easy way. Additionally, I think that one call of new hypercall
>> load function should load all needed thinks in right place and
>> return relevant status. Last but not least, new functionality should
>
> We are not restricted to just _one_ hypercall. And this loading
> thing could be similar to the micrcode hypercall - which just points
> to a virtual address along with the length - and says 'load me'.
>
>> be available through /dev/xen/privcmd or directly from kernel without
>> bigger effort.
>
> Perhaps we should have a email thread on xen-devel where we hash out
> some ideas. Eric, would you be OK included on this - it would make
> sense for this mechanism to be as future-proof as possible - and I am not
> sure what your plans for kexec are in the future?
The basic kexec interface is.
load ranges of virtual addresses physical addresses.
jump to the physical address with identity mapped page tables.
There are a few flags to allow for different usage scenarios like
kexec on panic vs normal kexec.
It is very very simple and very extensible. All of the weird glue
happens in userspace.
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists