qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] process naming not working when using a config file
@ 2014-04-02 15:50 William Dauchy
  2014-04-02 17:05 ` Dr. David Alan Gilbert
  0 siblings, 1 reply; 3+ messages in thread
From: William Dauchy @ 2014-04-02 15:50 UTC (permalink / raw)
  To: QEMU Developers

Hello,

I was using the qemu command line option:
-name foo,process=foo
in order to get a nice process naming on my linux box.

and so I could do
$ ps axco pid,command | grep 'foo'
4242 foo

I switched to a config file with:
[name]
  guest = "foo"
  process = "foo"

but now the previous `ps` command is empty and the process name is
qemu-system-x86

I guess these options are not taken in consideration. I am using the
last git version of qemu.
Should I write a bug report for this?

Thanks,
-- 
William

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] process naming not working when using a config file
  2014-04-02 15:50 [Qemu-devel] process naming not working when using a config file William Dauchy
@ 2014-04-02 17:05 ` Dr. David Alan Gilbert
  2014-04-02 17:16   ` William Dauchy
  0 siblings, 1 reply; 3+ messages in thread
From: Dr. David Alan Gilbert @ 2014-04-02 17:05 UTC (permalink / raw)
  To: William Dauchy; +Cc: QEMU Developers

* William Dauchy (wdauchy@gmail.com) wrote:
> Hello,
> 
> I was using the qemu command line option:
> -name foo,process=foo
> in order to get a nice process naming on my linux box.
> 
> and so I could do
> $ ps axco pid,command | grep 'foo'
> 4242 foo
> 
> I switched to a config file with:
> [name]
>   guest = "foo"
>   process = "foo"
> 
> but now the previous `ps` command is empty and the process name is
> qemu-system-x86
> 
> I guess these options are not taken in consideration. I am using the
> last git version of qemu.

Thanks for the report; on an older version of Qemu that still has the -name
option, using the file gives an error (There is no option group 'name'),
but on the lastest one it does, as you say, just ignore it.

> Should I write a bug report for this?

You can add a launchpad entry if you like; however sicne I suspect
it's my rework of --name to use QemuOpts that broke it, I'll add it
to my list.

Thanks again for reporting it.

Dave
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] process naming not working when using a config file
  2014-04-02 17:05 ` Dr. David Alan Gilbert
@ 2014-04-02 17:16   ` William Dauchy
  0 siblings, 0 replies; 3+ messages in thread
From: William Dauchy @ 2014-04-02 17:16 UTC (permalink / raw)
  To: Dr. David Alan Gilbert; +Cc: QEMU Developers

Hello Dave,

Thanks for your quick reply.

On Wed, Apr 2, 2014 at 7:05 PM, Dr. David Alan Gilbert
<dgilbert@redhat.com> wrote:
> You can add a launchpad entry if you like; however sicne I suspect
> it's my rework of --name to use QemuOpts that broke it, I'll add it
> to my list.

If it's already on your todo list, that's ok for me.

Thanks,

-- 
William

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-02 17:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-02 15:50 [Qemu-devel] process naming not working when using a config file William Dauchy
2014-04-02 17:05 ` Dr. David Alan Gilbert
2014-04-02 17:16   ` William Dauchy

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).