From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgmlD-0001L4-6p for qemu-devel@nongnu.org; Mon, 09 Mar 2009 17:11:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgmlB-0001IE-Id for qemu-devel@nongnu.org; Mon, 09 Mar 2009 17:11:42 -0400 Received: from [199.232.76.173] (port=56132 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgmlB-0001Hy-D2 for qemu-devel@nongnu.org; Mon, 09 Mar 2009 17:11:41 -0400 Received: from mail2.shareable.org ([80.68.89.115]:43983) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LgmlB-000208-3a for qemu-devel@nongnu.org; Mon, 09 Mar 2009 17:11:41 -0400 Date: Mon, 9 Mar 2009 21:11:34 +0000 From: Jamie Lokier Subject: Re: [Qemu-devel] [PATCH][RFC] Handling ':' on filenames Message-ID: <20090309211134.GB2812@shareable.org> References: <20090306212830.GL5077@blackpad> <49B3ABDF.2080803@redhat.com> <20090308114941.GA12649@miranda.arrow> <1236608928-sup-8973@blackpad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1236608928-sup-8973@blackpad> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Eduardo Habkost wrote: > The -drive option has a way to escape colons. For the filename > "/tmp/a,b,c", you can use: > > -drive file=/tmp/a,,b,,c,format=qcow2 > > Not pretty, but it seems to work. I wonder how you quote filenames from the monitor. In my own management scripts I've taken to making a symlink with a "safe" name to the real image file, and passing the safe name to KVM, so that it's unambiguous. Causes a bit of fun with qcow2 files, which refer to their backing files relative to the symlink not the target file. -- Jamie