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] qemu-dm.debug - trivial change for 64 bit systems

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] qemu-dm.debug - trivial change for 64 bit systems
From: Ben Thomas <bthomas@xxxxxxxxxxxxxxx>
Date: Mon, 06 Nov 2006 17:56:58 -0500
Delivery-date: Mon, 06 Nov 2006 14:57:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501)
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] qemu-dm.debug - trivial change for 64 bit systems, Ben Thomas <=