Leendert van Doorn
2005-May-27 03:42 UTC
[Xen-devel] [PATCH] ioemu device-model ignores variables
Trivial patch. The device-model wrapper ignores cdrom and boot variables. This patch adds them. Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com> --- xeno-unstable.orig/tools/ioemu/target-i386-dm/device-model 2005-05-23 20:28:03.000000000 -0400 +++ xeno-unstable.mine/tools/ioemu/target-i386-dm/device-model 2005-05-27 00:10:17.000000000 -0400 @@ -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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel