qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <Laurent.Vivier@bull.net>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Fix double backslash problem in Windows
Date: Thu, 10 Jan 2008 13:12:23 +0100	[thread overview]
Message-ID: <1199967143.4773.38.camel@frecb07144> (raw)
In-Reply-To: <alpine.LSU.1.00.0801101148580.31053@racer.site>

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

Le jeudi 10 janvier 2008 à 11:53 +0000, Johannes Schindelin a écrit :
> Hi,
> 
> On Thu, 10 Jan 2008, Laurent Vivier wrote:
> 
> > Le mercredi 09 janvier 2008 à 13:27 +0000, Johannes Schindelin a écrit :
> > [...]
> > > Besides, it would not be _that_ complicated:
> > 
> > This patch doesn't manage the case where we have comma in filename:
> > 
> > qemu -drive file=my,file,if=scsi
> > 
> > where filename is "my,file".
> 
> Right.  But then, my patch only tried to undo the regression.
> 
> As for the "my,file" problem: you _could_ change the parser so that it 
> picks up on "-drive if=scsi,file=my,file" having no "=" after the last 
> comma, but that does not help the case where a file name contains both a 
> comma and an equal sign.

Perhaps the best solution is to put "file=" option at the end of
aliases, '\0' is marking the end of filename (it is likely the idea of
andrzej about special characters).
For the case where user uses directly "-drive" perhaps we can just
explain in the doc he must put "file=" at the of the parameter when he
must use ' ', ',','"' or '=': 

qemu -drive if=scsi,bus=0,unit=6,file="my scsi disk.img" -hda "my ide0
disk.img"

(in this case quotes are managed by the shell)

It should ever work.

Regards,
Laurent
-- 
----------------- Laurent.Vivier@bull.net  ------------------
  "La perfection est atteinte non quand il ne reste rien à
ajouter mais quand il ne reste rien à enlever." Saint Exupéry

[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2008-01-10 12:12 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-08 16:17 [Qemu-devel] [PATCH] Fix double backslash problem in Windows Hervé Poussineau
2008-01-09  9:31 ` Laurent Vivier
2008-01-09  9:51   ` andrzej zaborowski
2008-01-09 10:04   ` Laurent Vivier
2008-01-09 10:40     ` andrzej zaborowski
2008-01-09 12:08       ` Laurent Vivier
2008-01-09 12:27         ` Johannes Schindelin
2008-01-09 12:51           ` Laurent Vivier
2008-01-09 13:27             ` Johannes Schindelin
2008-01-09 13:46               ` Laurent Vivier
2008-01-09 13:56                 ` andrzej zaborowski
2008-01-09 14:45                   ` Laurent Vivier
2008-01-09 13:59                 ` Johannes Schindelin
2008-01-09 14:42                   ` Laurent Vivier
2008-01-10  9:35               ` Laurent Vivier
2008-01-10 11:53                 ` Johannes Schindelin
2008-01-10 12:12                   ` Laurent Vivier [this message]
2008-01-10 12:15                     ` Johannes Schindelin
2008-01-10 12:33                       ` Laurent Vivier
2008-01-10 13:30                       ` Avi Kivity
2008-01-10 13:58                         ` Laurent Vivier
2008-01-10 14:18                           ` [Qemu-devel] " Jernej Simončič
2008-01-10 15:02                             ` Laurent Vivier
2008-01-10 18:13                               ` Laurent Vivier
2008-01-11  9:01                                 ` Laurent Vivier
2008-01-10 18:59                         ` [Qemu-devel] Re: [PATCH] " consul
2008-01-10 19:21                           ` Laurent Vivier
2008-01-09 12:27         ` [Qemu-devel] " Andreas Färber
2008-01-09 13:24           ` Laurent Vivier
2008-01-09 12:44         ` andrzej zaborowski
2008-01-09 17:53         ` Anthony Liguori
2008-01-09 18:23           ` Johannes Schindelin
2008-01-09 19:11           ` Laurent Vivier

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=1199967143.4773.38.camel@frecb07144 \
    --to=laurent.vivier@bull.net \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=qemu-devel@nongnu.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).