qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Unable to parse -device drivers containing commas?
Date: Thu, 30 May 2013 06:07:43 -0600	[thread overview]
Message-ID: <51A7410F.6090700@redhat.com> (raw)
In-Reply-To: <51A72348.7040306@ilande.co.uk>

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 621 bytes --]

  reply	other threads:[~2013-05-30 12:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-30 10:00 [Qemu-devel] Unable to parse -device drivers containing commas? Mark Cave-Ayland
2013-05-30 12:07 ` Eric Blake [this message]
2013-05-31  7:56   ` Mark Cave-Ayland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51A7410F.6090700@redhat.com \
    --to=eblake@redhat.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).