All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] raisin: disable stubdoms and etherboot in xen
@ 2015-11-12 16:12 Stefano Stabellini
  2015-11-12 16:23 ` Ian Campbell
  2015-11-16  9:39 ` George Dunlap
  0 siblings, 2 replies; 5+ messages in thread
From: Stefano Stabellini @ 2015-11-12 16:12 UTC (permalink / raw)
  To: xen-devel; +Cc: Stefano Stabellini

Raisin is about cloning (or downloading) components explicitly and
independently, rather than having the Xen build system clone and build
stuff as part of the build process.

Unfortunately it is not possible to build stubdoms outside the Xen tree
today, so just disable stubdoms for the moment.

Similarly etherboot support requires downloading ipxe, so remove it for
now.

With this patch, building Xen via Raisin doesn't fetch anything from the
web, aside from what is configure in the config file.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>

---

diff --git a/components/xen b/components/xen
index 090cceb..894d119 100644
--- a/components/xen
+++ b/components/xen
@@ -42,10 +42,13 @@ function xen_build() {
     then
         ovmf_opt="--enable-ovmf --with-system-ovmf="$BASEDIR"/ovmf-dir/ovmf.bin"
     fi
+    export ETHERBOOT_NICS=""
     ./configure --prefix=$PREFIX --with-system-qemu=$PREFIX/lib/xen/bin/qemu-system-i386 \
-        --disable-qemu-traditional --enable-rombios $seabios_opt $ovmf_opt
+        --disable-stubdom --disable-qemu-traditional \
+        --enable-rombios $seabios_opt $ovmf_opt
     $RAISIN_MAKE
     $RAISIN_MAKE install DESTDIR="$INST_DIR"
+    unset ETHERBOOT_NICS
     cd "$BASEDIR"
 }

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

* Re: [PATCH] raisin: disable stubdoms and etherboot in xen
  2015-11-12 16:12 [PATCH] raisin: disable stubdoms and etherboot in xen Stefano Stabellini
@ 2015-11-12 16:23 ` Ian Campbell
  2015-11-12 17:04   ` Stefano Stabellini
  2015-11-16  9:39 ` George Dunlap
  1 sibling, 1 reply; 5+ messages in thread
From: Ian Campbell @ 2015-11-12 16:23 UTC (permalink / raw)
  To: Stefano Stabellini, xen-devel

On Thu, 2015-11-12 at 16:12 +0000, Stefano Stabellini wrote:
> Similarly etherboot support requires downloading ipxe, so remove it for
> now.

FYI this only affects qemu-xen-trad, with qemu-xen the ipxe firmware comes
from elsewhere (the qemu-xen build IIRC)

Ian.

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

* Re: [PATCH] raisin: disable stubdoms and etherboot in xen
  2015-11-12 16:23 ` Ian Campbell
@ 2015-11-12 17:04   ` Stefano Stabellini
  0 siblings, 0 replies; 5+ messages in thread
From: Stefano Stabellini @ 2015-11-12 17:04 UTC (permalink / raw)
  To: Ian Campbell; +Cc: xen-devel, Stefano Stabellini

On Thu, 12 Nov 2015, Ian Campbell wrote:
> On Thu, 2015-11-12 at 16:12 +0000, Stefano Stabellini wrote:
> > Similarly etherboot support requires downloading ipxe, so remove it for
> > now.
> 
> FYI this only affects qemu-xen-trad, with qemu-xen the ipxe firmware comes
> from elsewhere (the qemu-xen build IIRC)

QEMU ships with pre-built rom binaries under pc-bios.

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

* Re: [PATCH] raisin: disable stubdoms and etherboot in xen
  2015-11-12 16:12 [PATCH] raisin: disable stubdoms and etherboot in xen Stefano Stabellini
  2015-11-12 16:23 ` Ian Campbell
@ 2015-11-16  9:39 ` George Dunlap
  2015-11-20 10:53   ` Stefano Stabellini
  1 sibling, 1 reply; 5+ messages in thread
From: George Dunlap @ 2015-11-16  9:39 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel

On Thu, Nov 12, 2015 at 4:12 PM, Stefano Stabellini
<stefano.stabellini@eu.citrix.com> wrote:
> Raisin is about cloning (or downloading) components explicitly and
> independently, rather than having the Xen build system clone and build
> stuff as part of the build process.
>
> Unfortunately it is not possible to build stubdoms outside the Xen tree
> today, so just disable stubdoms for the moment.
>
> Similarly etherboot support requires downloading ipxe, so remove it for
> now.

So apart from stub domains, what does qemu-trad buy us over qemu-upstream now?

Also, would it make sense to make it possible to build with a system
ipxe?  That's what CentOS does, FWIW.

 -George

>
> With this patch, building Xen via Raisin doesn't fetch anything from the
> web, aside from what is configure in the config file.
>
> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
>
> ---
>
> diff --git a/components/xen b/components/xen
> index 090cceb..894d119 100644
> --- a/components/xen
> +++ b/components/xen
> @@ -42,10 +42,13 @@ function xen_build() {
>      then
>          ovmf_opt="--enable-ovmf --with-system-ovmf="$BASEDIR"/ovmf-dir/ovmf.bin"
>      fi
> +    export ETHERBOOT_NICS=""
>      ./configure --prefix=$PREFIX --with-system-qemu=$PREFIX/lib/xen/bin/qemu-system-i386 \
> -        --disable-qemu-traditional --enable-rombios $seabios_opt $ovmf_opt
> +        --disable-stubdom --disable-qemu-traditional \
> +        --enable-rombios $seabios_opt $ovmf_opt
>      $RAISIN_MAKE
>      $RAISIN_MAKE install DESTDIR="$INST_DIR"
> +    unset ETHERBOOT_NICS
>      cd "$BASEDIR"
>  }
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

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

* Re: [PATCH] raisin: disable stubdoms and etherboot in xen
  2015-11-16  9:39 ` George Dunlap
@ 2015-11-20 10:53   ` Stefano Stabellini
  0 siblings, 0 replies; 5+ messages in thread
From: Stefano Stabellini @ 2015-11-20 10:53 UTC (permalink / raw)
  To: George Dunlap; +Cc: xen-devel, Stefano Stabellini

On Mon, 16 Nov 2015, George Dunlap wrote:
> On Thu, Nov 12, 2015 at 4:12 PM, Stefano Stabellini
> <stefano.stabellini@eu.citrix.com> wrote:
> > Raisin is about cloning (or downloading) components explicitly and
> > independently, rather than having the Xen build system clone and build
> > stuff as part of the build process.
> >
> > Unfortunately it is not possible to build stubdoms outside the Xen tree
> > today, so just disable stubdoms for the moment.
> >
> > Similarly etherboot support requires downloading ipxe, so remove it for
> > now.
> 
> So apart from stub domains, what does qemu-trad buy us over qemu-upstream now?

Nothing, but it is useful to keep running VMs which are already running
under qemu-trad. I don't think we support live-migrating from qemu-trad
to QEMU.


> Also, would it make sense to make it possible to build with a system
> ipxe?  That's what CentOS does, FWIW.

Sure, please send a patch :-)

 
> >
> > With this patch, building Xen via Raisin doesn't fetch anything from the
> > web, aside from what is configure in the config file.
> >
> > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> >
> > ---
> >
> > diff --git a/components/xen b/components/xen
> > index 090cceb..894d119 100644
> > --- a/components/xen
> > +++ b/components/xen
> > @@ -42,10 +42,13 @@ function xen_build() {
> >      then
> >          ovmf_opt="--enable-ovmf --with-system-ovmf="$BASEDIR"/ovmf-dir/ovmf.bin"
> >      fi
> > +    export ETHERBOOT_NICS=""
> >      ./configure --prefix=$PREFIX --with-system-qemu=$PREFIX/lib/xen/bin/qemu-system-i386 \
> > -        --disable-qemu-traditional --enable-rombios $seabios_opt $ovmf_opt
> > +        --disable-stubdom --disable-qemu-traditional \
> > +        --enable-rombios $seabios_opt $ovmf_opt
> >      $RAISIN_MAKE
> >      $RAISIN_MAKE install DESTDIR="$INST_DIR"
> > +    unset ETHERBOOT_NICS
> >      cd "$BASEDIR"
> >  }
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xen.org
> > http://lists.xen.org/xen-devel
> 

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

end of thread, other threads:[~2015-11-20 10:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-12 16:12 [PATCH] raisin: disable stubdoms and etherboot in xen Stefano Stabellini
2015-11-12 16:23 ` Ian Campbell
2015-11-12 17:04   ` Stefano Stabellini
2015-11-16  9:39 ` George Dunlap
2015-11-20 10:53   ` Stefano Stabellini

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.