]> git.proxmox.com Git - qemu.git/commit - qemu-options.hx
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)
commit1889465a1c0c8403447aed4da0823ef2bb249473
treec50482cfa377a5540fe5f46939f2bbf3a6158e80
parente3fc14c3a1a77a1cda669a3e16f1f6b82577e4ec
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