All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Thomas <bthomas@virtualiron.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] qemu-dm.debug - trivial change for 64 bit systems
Date: Mon, 06 Nov 2006 17:56:58 -0500	[thread overview]
Message-ID: <454FBDBA.6070302@virtualiron.com> (raw)

[-- 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

                 reply	other threads:[~2006-11-06 22:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=454FBDBA.6070302@virtualiron.com \
    --to=bthomas@virtualiron.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.