qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Fix double backslash problem in Windows


From: Johannes Schindelin
Subject: Re: [Qemu-devel] [PATCH] Fix double backslash problem in Windows
Date: Thu, 10 Jan 2008 11:53:18 +0000 (GMT)
User-agent: Alpine 1.00 (LSU 882 2007-12-20)

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.

Of course, the easiest way to tackle this problem is to say "you cannot 
use comma and equal signs in your image file names".  Although it would be 
hard on the users to disallow spaces, since a relatively wide-spread OS 
decides to put your personal data into a path containing spaces _by 
default_.

Ciao,
Dscho

reply via email to

[Prev in Thread] Current Thread [Next in Thread]