[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] drive_add: file names with spaces
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] drive_add: file names with spaces |
Date: |
Sat, 28 Oct 2017 08:00:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 10/28/2017 06:44 AM, Programmingkid wrote:
> I'm trying to use an image file that has spaces in its file name (and
> sometimes in the path) to be used as a USB flash drive. When I try adding the
> image file using the drive_add command I see this error: drive_add:
> extraneous characters at the end of the line
>
> I have tried using single and double quotes around the file name but this
> does not help. Is there a way to use files that have spaces in it's name with
> drive_add?
Not in HMP, which lacks quoting. (Unless you want to patch HMP to learn
quoting)
But using spaces in filenames works fine in QMP.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature