All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Xen Guest Kexec
@ 2005-07-07 17:16 Mark Williamson
  2005-07-08  8:59 ` [Fastboot] " Eric W. Biederman
                   ` (2 more replies)
  0 siblings, 3 replies; 38+ messages in thread
From: Mark Williamson @ 2005-07-07 17:16 UTC (permalink / raw)
  To: xen-devel, fastboot

All,

I'm posting to the Xen-devel list and the OSDL fastboot list.  There are a 
number of Xen folks who'll want to look at the code.  For the fastboot folks, 
this is mostly intended as an announcement of the port.  Please limit your 
replies to the list(s) that they applies to, thanks :-)

A number of people have expressed interest in kexec support for Xen guests.  
In particular, it's mainly useful for purposes of implementing an in-guest 
bootloader app and avoiding the need for dom0 to access the guest filesystem.

It's a largish patch, so I stuck it online: 
http://www.cl.cam.ac.uk/~maw48/xenguest_kexec.patch
Tested on i386.  I suspect it'll have build issues on x86_64 but those should 
be easy to fix - actually the code is probably generic enough to work on 
both.

You'll also need a modified version of the kexec tools, which I'll post 
details of later.

Notes on the implementation:
Kexec in a Xen guest doesn't work like on a real machine.  The guest relies on 
outside assistance to complete the job.  The guest communicates details of 
the kexec to Xend.  Xend extracts the data from the guest's memory image and 
uses it to rebuild the domain with a new kernel, etc.  This approach 
simplifies the changes needed to support kexec and minimises code duplication 
between Linux and the domain builder itself.

Kexec-ing the whole host is a separate issue, I think it's best addressed with 
a port of kexec to Xen itself.

Cheers,
Mark

^ permalink raw reply	[flat|nested] 38+ messages in thread
* RE: Re: [PATCH] Xen Guest Kexec
@ 2006-02-26 22:49 Ian Pratt
  2006-02-27  7:10 ` Keir Fraser
  0 siblings, 1 reply; 38+ messages in thread
From: Ian Pratt @ 2006-02-26 22:49 UTC (permalink / raw)
  To: Gerd Hoffmann, Mark Williamson; +Cc: xen-devel, Horms

> Also switching page tables seems to be not so easy.  Is it 
> possible to switch atomically to a new, completely 
> independant page table tree?
> i.e. old tree is valid (of cource), new tree is too, but the 
> pages of the old tree are not mapped read-only in the new 
> tree (and visa versa).

If the pagetable you're running on isn't pinned the refcounts will drop
to zero when you switch away from it, hence its only necessary for the
destination pagetable to be internally consistent.

Ian

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2006-03-07 14:43 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-07 17:16 [PATCH] Xen Guest Kexec Mark Williamson
2005-07-08  8:59 ` [Fastboot] " Eric W. Biederman
2005-07-08 14:35   ` Mark Williamson
2005-07-08 17:35 ` Mark Williamson
2006-02-23 10:52 ` Horms
2006-02-23 11:22   ` Gerd Hoffmann
2006-02-23 11:32     ` Mark Williamson
2006-02-23 13:03       ` Gerd Hoffmann
2006-02-23 14:49         ` Mark Williamson
2006-02-24 14:35           ` Gerd Hoffmann
2006-02-27 14:29             ` Mark Williamson
2006-02-27 15:39               ` Gerd Hoffmann
2006-02-23 11:36   ` Mark Williamson
2006-02-27  3:32     ` Horms
2006-02-27 14:58       ` Mark Williamson
  -- strict thread matches above, loose matches on Subject: below --
2006-02-26 22:49 Ian Pratt
2006-02-27  7:10 ` Keir Fraser
2006-02-27 15:34   ` Gerd Hoffmann
2006-02-27 16:19     ` Keir Fraser
2006-03-01 12:09       ` Gerd Hoffmann
2006-03-01 14:10         ` Gerd Hoffmann
2006-03-01 15:03           ` Keir Fraser
2006-03-01 17:35             ` Keir Fraser
2006-03-02  9:16               ` Gerd Hoffmann
2006-03-02  9:43                 ` Keir Fraser
2006-03-02 11:34                   ` Gerd Hoffmann
2006-03-02 11:55                     ` Keir Fraser
2006-03-02 16:36                       ` Gerd Hoffmann
2006-03-02 16:48                         ` Keir Fraser
2006-03-03  8:39                           ` Gerd Hoffmann
2006-03-03  9:14                             ` Keir Fraser
2006-03-03  9:35                               ` Keir Fraser
2006-03-03 11:19                                 ` Gerd Hoffmann
2006-03-06 14:15                                 ` Gerd Hoffmann
2006-03-06 16:04                                   ` Michael Vrable
2006-03-07 13:06                                 ` Gerd Hoffmann
2006-03-07 13:42                                   ` Keir Fraser
2006-03-07 14:43                                     ` Gerd Hoffmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.