[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



ChangeSet 1.1573, 2005/05/27 09:36:13+01:00, leendert@xxxxxxxxxxxxxx

        [PATCH] [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@xxxxxxxxxxxxxx>



 device-model |    8 ++++++++
 1 files changed, 8 insertions(+)


diff -Nru a/tools/ioemu/target-i386-dm/device-model 
b/tools/ioemu/target-i386-dm/device-model
--- a/tools/ioemu/target-i386-dm/device-model   2005-05-27 05:02:41 -04:00
+++ b/tools/ioemu/target-i386-dm/device-model   2005-05-27 05:02:41 -04:00
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.