[Qemu-devel] Unable to parse -device drivers containing commas?

2013-05-30 Thread Mark Cave-Ayland
Hi all, I found that the QEMU -device command line parser doesn't seem to like driver names containing a comma such as "SUNW,tcx" for the video driver on qemu-system-sparc: $ ./qemu-system-sparc -device SUNW,tcx,help qemu-system-sparc: -device SUNW,tcx,help: Parameter 'driver' expects device

Re: [Qemu-devel] Unable to parse -device drivers containing commas?

2013-05-30 Thread Eric Blake
On 05/30/2013 04:00 AM, Mark Cave-Ayland wrote: > Hi all, > > I found that the QEMU -device command line parser doesn't seem to like > driver names containing a comma such as "SUNW,tcx" for the video driver > on qemu-system-sparc: > > $ ./qemu-system-sparc -device SUNW,tcx,help > Is there a way

Re: [Qemu-devel] Unable to parse -device drivers containing commas?

2013-05-31 Thread Mark Cave-Ayland
On 30/05/13 13:07, Eric Blake wrote: Is there a way of escaping the commas on the command line so that it is possible to list properties for drivers named in this way? Commas are escaped by doubling them. Try ./qemu-system-sparc -device SUNW,,tcx,help That's the generic quoting we've used