All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemu-dm.debug - trivial change for 64 bit systems
@ 2006-11-06 22:56 Ben Thomas
  0 siblings, 0 replies; only message in thread
From: Ben Thomas @ 2006-11-06 22:56 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 660 bytes --]

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


[-- Attachment #2: qemu-dm-debug.patch --]
[-- Type: text/x-patch, Size: 726 bytes --]

# 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 $*


[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-06 22:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-06 22:56 [PATCH] qemu-dm.debug - trivial change for 64 bit systems Ben Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.