[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] drive_add: file names with spaces
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [Qemu-devel] drive_add: file names with spaces |
Date: |
Mon, 30 Oct 2017 20:15:49 +0000 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
* Eric Blake (address@hidden) wrote:
> On 10/30/2017 03:32 PM, Dr. David Alan Gilbert wrote:
>
> > Now, the real challenge is how to deal with a filename with a comma in;
> > drive_add 1 "file=foo,bar"
> > Could not open 'foo': No such file or directory
> >
>
> Does HMP use the QemuOpts parser? If so, try:
>
> drive_add 1 "file=foo,,bar"
>
> (that is, reproduce the double-comma escaping mechanism that we use on
> the command line).
>
> But I haven't personally tried this, so I have no idea if it will help.
Ah yes it does; I never knew that worked.
Dave
> --
> Eric Blake, Principal Software Engineer
> Red Hat, Inc. +1-919-301-3266
> Virtualization: qemu.org | libvirt.org
>
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK