WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] ioemu device-model ignores variables

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] ioemu device-model ignores variables
From: Leendert van Doorn <leendert@xxxxxxxxxxxxxx>
Date: Thu, 26 May 2005 23:42:34 -0400
Delivery-date: Fri, 27 May 2005 04:14:03 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM T.J. Watson Research Center
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Trivial patch. The device-model wrapper ignores cdrom and boot variables.
This patch adds them.

Signed-Off-By: Leendert van Doorn <leendert@xxxxxxxxxxxxxx>

--- 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] ioemu device-model ignores variables, Leendert van Doorn <=