qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Allow setting qemu process name


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH] Allow setting qemu process name
Date: Wed, 01 Jul 2009 18:07:50 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 07/01/2009 04:29 PM, Anthony Liguori wrote:
Andi Kleen wrote:
[this is a port of a old KVM userland patch I had; Avi back then suggested to submit it to qemu]

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 is not a bad idea but it has to be optional and non-default. Maybe a new command line option?

-name [title=]blah[,process=foobar]

+    } else {
+        set_proc_name("qemu", qemu_name);
     }

I'd rather see qemu be the prefix unconditionally.

Why have a prefix at all?  The user can add it if they're so inclined.

--
error compiling committee.c: too many arguments to function





reply via email to

[Prev in Thread] Current Thread [Next in Thread]