From: Leendert van Doorn Subject: [PATCH] ioemu device-model ignores variables Date: Thu, 26 May 2005 23:42:34 -0400 Message-ID: <20050527034234.442C91154@huxley.watson.ibm.com> Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Trivial patch. The device-model wrapper ignores cdrom and boot variables. This patch adds them. Signed-Off-By: Leendert van Doorn --- 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