All of lore.kernel.org
 help / color / mirror / Atom feed
From: Horms <horms@verge.net.au>
To: Gerd Hoffmann <kraxel@suse.de>
Cc: Magnus Damm <magnus@valinux.co.jp>, xen-devel@lists.xensource.com
Subject: Re: [PATCH]: kexec: framework and i386
Date: Sat, 8 Apr 2006 13:39:32 +0900	[thread overview]
Message-ID: <20060408043929.GI4583@verge.net.au> (raw)
In-Reply-To: <4436809B.5040601@suse.de>

On Fri, Apr 07, 2006 at 05:09:15PM +0200, Gerd Hoffmann wrote:
>   Hi,
> 
> > Here is a first cut of kexec for dom0/xen, which will actually
> > kexec the physical machine from xen. The approach taken is
> > to move the architecture-dependant kexec code into a new hypercall.
> 
> First you need some more security checks.  On a first quick look it
> seems you can zap and takeover the whole machine from within a domU by
> kexec-booting the machine.

Yes, I think you are right, I had completely forgotten about that.

> Second I think we'll need a new kexec flag to indicate we'll go zap the
> physical machine, not the virtual machine.  I'm looking into the later,
> and I think we'll be able to do both at some point in the future.  Maybe
> it is enougth to care about dom0 (physical machine kexec) vs. domU
> (virtual machine kexec) only though.  We certainly don't want allow
> domUs kexec the whole machine, and virtual machine kexec for dom0
> doesn't make that much sense given how tight xen and dom0 work hand-in-hand.

Sounds fine by me. The focus of what I was trying to achive is to zap
the entire physical machine, which is what the current code does. I am
actually most interested in kdump, though its not working yet. In any
case a flag makes perfect sense. Though it might make sense to add it
when more flexible incarnations of kexec are added.

> >   * kexecing into xen does not seem to work, I think that 
> >     kexec-tools needs updating, but I have not investigated yet
> 
> Yep, actually _alot_ of the kexec magic happens in userspace.

Yes, I became aware of that along the way. I'm pretty confident that
the way I have done things, if you fixed up user-space kexec so
that linux -> xen worked, then xen -> xen would also work.

-- 
Horms

  reply	other threads:[~2006-04-08  4:39 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-07  7:42 [PATCH]: kexec: framework and i386 Horms
2006-04-07 15:00 ` Don Zickus
2006-04-10  5:09   ` Hirokazu Takahashi
2006-04-10 15:38     ` Don Zickus
2006-04-11  1:44       ` Horms
2006-04-12 15:56         ` Don Zickus
2006-04-07 15:09 ` Gerd Hoffmann
2006-04-08  4:39   ` Horms [this message]
2006-04-12  9:12 ` Horms
2006-04-17  6:06   ` Horms
2006-04-21  1:28     ` [PATCH]: kexec: framework and i386 (Take IV) Horms
2006-04-21  6:10     ` Re: [PATCH]: kexec: framework and i386 Akio Takebe
2006-04-21  6:55       ` horms-home
2006-04-21  7:53         ` Akio Takebe
2006-04-23 14:45       ` Mark Williamson
2006-04-24  1:10         ` Akio Takebe
2006-04-24  1:53           ` Hypercall number assignment convension (was Re: Re: [PATCH]: kexec: framework and i386) Isaku Yamahata
2006-04-24  7:32             ` Keir Fraser
2006-04-24 11:20               ` Muli Ben-Yehuda
2006-04-25  0:11               ` Horms
2006-04-25  9:57                 ` Keir Fraser
2006-04-26  6:08                   ` [PATCH]: kexec: framework and i386 Take V Horms
2006-05-02  8:17                     ` [PATCH]: kexec: framework and i386 (Take VI) Simon Horman [Horms]
2006-05-03  7:16                       ` Akio Takebe
2006-05-05  1:03                         ` horms
2006-05-06  8:46                           ` Akio Takebe
2006-05-07  4:46                             ` Horms
2006-05-07  9:45                               ` Akio Takebe
2006-05-08  9:02                                 ` Ian Campbell
2006-05-11 11:35                                   ` horms
2006-05-15  8:29                         ` Akio Takebe
2006-05-06  8:44                       ` Akio Takebe
2006-05-07  4:45                         ` Horms
2006-05-09  4:16                           ` [PATCH]: kexec: framework and i386 (Take VII) Horms
2006-05-09  9:18                             ` [PATCH]: kexec: framework and i386 (Take VIII) Horms
2006-05-09 13:28                               ` Akio Takebe
2006-05-16 10:43                                 ` Akio Takebe
2006-05-16 10:44                                   ` Keir Fraser
2006-05-16 11:03                                     ` Akio Takebe
2006-05-16 12:39                                       ` Keir Fraser
2006-05-17  2:44                                         ` Horms
2006-05-17  4:53                                           ` Horms
2006-05-17  9:52                                             ` Re: [PATCH]: kexec: framework and i386 (Take IX) Horms
2006-05-17 10:10                                               ` Keir Fraser
2006-05-18  3:37                                                 ` Horms
2006-05-25  7:20                                                   ` [PATCH] kexec: framework and i386 (Take X) Horms
2006-06-05  2:53                                                     ` Akio Takebe
2006-06-15  7:29                                                     ` [PATCH] kexec: framework and i386 (Take XI) Horms
2006-07-11  3:39                                                       ` [PATCH] kexec: framework and i386 (Take XII) Horms
2006-08-11  7:48                                                         ` [PATCH] kexec: framework and i386 (Take XIII) Horms
2006-08-31  7:43                                                           ` [PATCH] kexec: framework and i386 (Take XIV) Horms
2006-08-31  8:55                                                             ` Akio Takebe
2006-09-01  2:56                                                               ` Horms
2006-09-01  8:41                                                                 ` Akio Takebe
2006-09-01  8:45                                                                   ` Akio Takebe
2006-09-01 10:21                                                                     ` Horms
2006-09-04 21:45                                                                       ` Akio Takebe
2007-05-28  5:28                                                                         ` Horms
2007-05-28  6:25                                                                           ` [Xen-devel] " Akio Takebe
2007-05-29  1:05                                                                             ` Horms
2007-05-29  9:04                                                                           ` Ian Campbell
2007-05-31 10:43                                                                             ` [Xen-devel] " Akio Takebe
2007-05-31 10:49                                                                               ` Keir Fraser
2007-05-31 11:07                                                                                 ` [Xen-devel] " Akio Takebe
2007-05-31 11:17                                                                                   ` Akio Takebe
2006-09-05 11:43                                                             ` [Xen-devel] " Kazuo Moriwaka
2006-09-05 13:06                                                               ` Horms
2006-04-26  2:09               ` Hypercall number assignment convension (was Re: Re: [PATCH]: kexec: framework and i386) Isaku Yamahata

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060408043929.GI4583@verge.net.au \
    --to=horms@verge.net.au \
    --cc=kraxel@suse.de \
    --cc=magnus@valinux.co.jp \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.