qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eric Blake
Subject: Re: [Qemu-devel] Unable to parse -device drivers containing commas?
Date: Thu, 30 May 2013 06:07:43 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

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 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 for escaping commas in all new
command line options, although there may be some older options that
still need to be taught to honor that escaping.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]