xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Philipp Hahn <hahn@univention.de>
To: xen-devel@lists.xen.org
Subject: Re: Need help with qemu args debug
Date: Wed, 29 Feb 2012 18:25:27 +0100	[thread overview]
Message-ID: <201202291825.31160.hahn@univention.de> (raw)
In-Reply-To: <1330514555.4270.52.camel@zakaz.uk.xensource.com>


[-- Attachment #1.1: Type: text/plain, Size: 936 bytes --]

Hi,

just a nit:

On Wednesday 29 February 2012 12:22:35 Ian Campbell wrote:
> What I often do is create qemu-debug.sh:
> 	#!/bin/sh
> 	echo "Starting QEMU with: $*" >> /tmp/qemu-dbg.log
> 	exec /usr/lib/xen/bin/qemu-system-i386 $@

You should always put double-quotes arount the $@, otherwise the shell does 
IFS-splitting on the arguments. Probably not that important in this case, but 
since this creates nasty quoting problems in general, post "good code" for 
the archive.

Sincerely
Philipp

PS: I know there are broken shell, which don't handle "$@" correct, but hey, 
they're broken anyway.
-- 
Philipp Hahn           Open Source Software Engineer      hahn@univention.de
Univention GmbH        Linux for Your Business        fon: +49 421 22 232- 0
Mary-Somerville-Str.1  D-28359 Bremen                 fax: +49 421 22 232-99
                                                   http://www.univention.de/

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

      parent reply	other threads:[~2012-02-29 17:25 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-29 11:09 Need help with qemu args debug Fantu
2012-02-29 11:22 ` Ian Campbell
2012-02-29 12:44   ` Fantu
2012-02-29 13:05     ` Ian Campbell
2012-02-29 16:20       ` Ian Jackson
2012-02-29 17:31       ` Philipp Hahn
2012-02-29 18:45       ` Ian Campbell
2012-02-29 13:05     ` Fantu
2012-02-29 15:06       ` Stefano Stabellini
2012-02-29 15:30         ` Fantu
2012-02-29 15:39           ` Fantu
2012-03-01 14:27             ` Stefano Stabellini
2012-03-02  9:00               ` Fantu
2012-03-02 13:30                 ` Stefano Stabellini
2012-03-02 14:03                   ` Fantu
2012-03-02 15:36                     ` Stefano Stabellini
2012-03-06 14:18                       ` Fantu
2012-03-07 15:00                         ` Fantu
2012-03-09  0:45                           ` Ian Campbell
2012-03-08 16:59                         ` Anthony PERARD
2012-03-09 10:58                           ` Fantu
2012-03-09 14:55                             ` Anthony PERARD
2012-03-12  9:31                               ` Fantu
2012-03-13  9:14                                 ` Fantu
2012-03-13  9:33                                   ` Ian Campbell
2012-03-13  9:41                                     ` Ian Campbell
2012-03-15  9:36                                       ` Fantu
2012-03-15 17:35                                         ` Anthony PERARD
2012-03-16 10:51                                           ` Fantu
2012-03-01 14:11           ` Stefano Stabellini
2012-03-01  9:18         ` Fantu
2012-03-01  9:31           ` Ian Campbell
2012-03-01  9:43             ` Fantu
2012-03-01 10:58               ` Fantu
2012-03-01 14:40                 ` Stefano Stabellini
2012-02-29 17:25   ` Philipp Hahn [this message]

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=201202291825.31160.hahn@univention.de \
    --to=hahn@univention.de \
    --cc=xen-devel@lists.xen.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).