Allow setting qemu process name v2
authorAndi Kleen <andi@firstfloor.org>
Thu, 2 Jul 2009 07:34:17 +0000 (09:34 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 9 Jul 2009 21:58:08 +0000 (16:58 -0500)
commitba586e9fbbacf57b0900600cef242abc352c814e
treec50482cfa377a5540fe5f46939f2bbf3a6158e80
parent86a637b504cb27af3ede5873dea78bc8169d2cc2
Allow setting qemu process name v2

Set the Linux process name to the name argument specified with name. I find
this useful to see which guests are taking CPU time in top.

This doesn't affect ps, which checks argv[0], but rewriting the
environment uses much more code, so I only used this simple way.

v2: Use separate process= argument, no prefixes.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-options.hx
vl.c