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

[Xen-devel] [PATCH] qemu-dm.debug - trivial change for 64 bit systems



This has been an annoyance for some time, and I just kept
assuming that "someone else" would get around to fixing it
and submitting the change.

Trivial change to look in correct location for qemu-dm when
using the debug wrapper on a 64 bit system

Signed-off-by: Ben Thomas (ben@xxxxxxxxxxxxxxx)

--
------------------------------------------------------------------------
Ben Thomas                                         Virtual Iron Software
bthomas@xxxxxxxxxxxxxxx                            Tower 1, Floor 2
978-849-1214                                       900 Chelmsford Street
                                                    Lowell, MA 01851

# Trivial change to look in correct location for qemu-dm when
# using the debug wrapper on a 64 bit system
#
# Signed-off-by: Ben Thomas (ben@xxxxxxxxxxxxxxx)


Index: xen-unstable.hg/tools/ioemu/target-i386-dm/qemu-dm.debug
===================================================================
--- xen-unstable.hg.orig/tools/ioemu/target-i386-dm/qemu-dm.debug       
2006-11-06 14:41:57.000000000 -0500
+++ xen-unstable.hg/tools/ioemu/target-i386-dm/qemu-dm.debug    2006-11-06 
14:44:28.000000000 -0500
@@ -1,5 +1,10 @@
 #!/bin/sh
 
+if [ "`arch`" = "x86_64" ]; then
+    LIBDIR="lib64"
+else
+    LIBDIR="lib"
+fi
 echo $* > /tmp/args
 echo $DISPLAY >> /tmp/args
-exec /usr/lib/xen/bin/qemu-dm $*
+exec /usr/$LIBDIR/xen/bin/qemu-dm $*

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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