Re: [Qemu-devel] drive_add: file names with spaces

2017-10-30 Thread Dr. David Alan Gilbert
* Eric Blake (ebl...@redhat.com) 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

Re: [Qemu-devel] drive_add: file names with spaces

2017-10-30 Thread Eric Blake
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" (tha

Re: [Qemu-devel] drive_add: file names with spaces

2017-10-30 Thread Dr. David Alan Gilbert
* Programmingkid (programmingk...@gmail.com) wrote: > > > On Oct 30, 2017, at 10:32 AM, Dr. David Alan Gilbert > > wrote: > > > > * Programmingkid (programmingk...@gmail.com) wrote: > >> > >>> On Oct 29, 2017, at 6:21 AM, Dr. David Alan Gilbert > >>> wrote: > >>> > >>> * Eric Blake (ebl...@

Re: [Qemu-devel] drive_add: file names with spaces

2017-10-30 Thread Programmingkid
> On Oct 30, 2017, at 10:32 AM, Dr. David Alan Gilbert > wrote: > > * Programmingkid (programmingk...@gmail.com) wrote: >> >>> On Oct 29, 2017, at 6:21 AM, Dr. David Alan Gilbert >>> wrote: >>> >>> * Eric Blake (ebl...@redhat.com) wrote: On 10/28/2017 06:44 AM, Programmingkid wrote: >>

Re: [Qemu-devel] drive_add: file names with spaces

2017-10-30 Thread Dr. David Alan Gilbert
* Programmingkid (programmingk...@gmail.com) wrote: > > > On Oct 29, 2017, at 6:21 AM, Dr. David Alan Gilbert > > wrote: > > > > * Eric Blake (ebl...@redhat.com) wrote: > >> 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

Re: [Qemu-devel] drive_add: file names with spaces

2017-10-29 Thread Programmingkid
> On Oct 29, 2017, at 6:21 AM, Dr. David Alan Gilbert > wrote: > > * Eric Blake (ebl...@redhat.com) wrote: >> 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

Re: [Qemu-devel] drive_add: file names with spaces

2017-10-29 Thread Dr. David Alan Gilbert
* Eric Blake (ebl...@redhat.com) wrote: > 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

Re: [Qemu-devel] drive_add: file names with spaces

2017-10-27 Thread Eric Blake
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 t

[Qemu-devel] drive_add: file names with spaces

2017-10-27 Thread Programmingkid
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 doub