Skip to contentSkip to conversation

ioemu device-model ignores variables

PATCH New Leendert van Doorn 1 participant 1 message May 27, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ioemu device-model ignores variables

Trivial patch. The device-model wrapper ignores cdrom and boot variables. This patch adds them.

tools/ioemu/target-i386-dm/device-model +8 -0
@@ -54,6 +54,14 @@
 PARMETER="$PARMETER -hdd $hdd"
 fi
 
+if [ ! -z $cdrom ];then
+PARMETER="$PARMETER -cdrom $cdrom"
+fi
+
+if [ ! -z $boot ];then
+PARMETER="$PARMETER -boot $boot"
+fi
+
 if [ ! -z $nographic ] && [ $nographic -eq 1 ];then
 PARMETER="$PARMETER -nographic"
 fi