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

Re: [Xen-devel] Boot dom0 and mini-OS guest in parallel


  • To: Lucio Maciel <luciofm@xxxxxxxxx>
  • From: Christopher Clark <christopher.w.clark@xxxxxxxxx>
  • Date: Mon, 6 Jul 2009 14:47:40 -0700
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 06 Jul 2009 14:48:05 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=o5RVbP52tttcF1tCvOglFkmbvj18ql4TEoEXOwpKwrznTgCchvHnlwZOAKyHr3gP+k wNDYEjopNL2/PKyXQJ19AacqlSaihUxS9zTXQzBM+oPAx0OhktMQeeksNr0y/vIbJwj9 Vp3AQN3117SnJ7sALHgL9ad32ce38NbxFfa00=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

It's not implemented now, as far as I can tell from a quick scan of
the unstable source, but it's doable if you're up for a project.

Xen does relocation of modules passed at boot which is how the dom0
kernel and its initrd are loaded.

You could specify another module to grub that Xen will relocate and
then construct a domain around it within Xen, in a similar fashion to
the way dom0 is constructed.

See the dom0 construction code in:

xen/arch/x86/domain_build.c : construct_dom0
and
xen/arch/x86/setup.c : __start_xen

I'm not familar enough with ia64 to pass similar pointers there, and
I'm not sure what it'd take to build a neat enough implementation that
it'd be considered for merge.

Christopher


On Mon, Jul 6, 2009 at 1:40 PM, Lucio Maciel<luciofm@xxxxxxxxx> wrote:
> Hi,
>
> I'm using xen virtualization, and I writing a very security sensitive
> software that I want to run completely isolated, running it on a
> mini-OS or a very small/tight Linux guest.
>
> That's OK, but I also want it to boot in parallel with dom0, directly
> from the xen hypervisor, avoiding the need to first boot the dom0 and
> then boot my small self-contained guest.
>
> Is that possible? Or what should I know before trying to add this
> functionality to the xen hypervisor?
>
> Thanks in advance,
> Lúcio Maciel
> luciofm@xxxxxxxxx
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

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


 


Rackspace

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