From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Thomas Subject: [PATCH] qemu-dm.debug - trivial change for 64 bit systems Date: Mon, 06 Nov 2006 17:56:58 -0500 Message-ID: <454FBDBA.6070302@virtualiron.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010405020107070700040700" 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 This is a multi-part message in MIME format. --------------010405020107070700040700 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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@virtualiron.com) -- ------------------------------------------------------------------------ Ben Thomas Virtual Iron Software bthomas@virtualiron.com Tower 1, Floor 2 978-849-1214 900 Chelmsford Street Lowell, MA 01851 --------------010405020107070700040700 Content-Type: text/x-patch; name="qemu-dm-debug.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="qemu-dm-debug.patch" # 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@virtualiron.com) 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 $* --------------010405020107070700040700 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------010405020107070700040700--