[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/3] Name threads
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/3] Name threads |
Date: |
Thu, 30 Jan 2014 13:03:26 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
* Eric Blake (address@hidden) wrote:
> On 01/30/2014 03:20 AM, Dr. David Alan Gilbert (git) wrote:
>
> > The first patch converts --name to use QemuOpts, a side effect of this is
> > that
> > --name process=foo,bar
> > no longer allows a process name of 'foo,bar', since ',' is a separator.
>
> Just to make sure I understand correctly, am I right that if you want a
> process name of 'foo,bar' you can still invoke --name process=foo,,bar ?
Much to my surprise, apparently so:
dgilbert 18228 18104 37 13:01 pts/12 00:00:03 ./bin/qemu-system-x86_64 --name
process=foo,,bar
address@hidden try-thread]$ cat /proc/18228/comm
foo,bar
(I hadn't realised QemuOpts did that)
> Libvirt will probably not be using this option, since it is not intended
> to be a stable API, but I can definitely see the value of it for
> debugging :)
Great :-)
Dave
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK