Skip to contentSkip to conversation

raisin: disable stubdoms and etherboot in xen

PATCH In review Stefano Stabellini 3 participants 5 messages Nov 12, 2015 – Nov 20, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 raisin: disable stubdoms and etherboot in xen

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.

---

components/xen +4 -1
index 090cceb..894d119 100644
@@ -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"
 }
#1 lore raw
Quoted 2 lines · Stefano Stabellini

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.

#2 lore raw
Quoted 6 lines · Ian Campbell
Quoted 2 lines · Stefano Stabellini

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.

#3 lore raw
In reply to Stefano Stabellini
Quoted 9 lines · 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.

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

Quoted 31 lines

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

---

components/xen +4 -1
index 090cceb..894d119 100644
@@ -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
[email protected]
http://lists.xen.org/xen-devel

#4 lore raw
Quoted 6 lines · George Dunlap
Quoted 4 lines · 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.

Quoted 7 lines
Quoted 5 lines

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.

Quoted 2 lines

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 :-)

Quoted 32 lines
Quoted 31 lines

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

---

components/xen +4 -1
index 090cceb..894d119 100644
@@ -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
[email protected]
http://lists.xen.org/xen-devel