[libvirt] process= support for 'qemu-kvm -name' [Bug 576950]

John Morrissey jwm at horde.net
Mon Oct 18 22:17:14 UTC 2010


On Mon, Oct 18, 2010 at 06:58:34PM +0100, Daniel P. Berrange wrote:
> On Mon, Oct 18, 2010 at 01:45:12PM -0400, John Morrissey wrote:
> > Unfortunately, qemu uses prctl() to set the process title, which has a
> > limit of 16 characters. How about "qemu:$VM_NAME" for the process title
> > (attached), so we waste as little as possible?
> 
> Urgh, 16 characters is tiny :-(  I think we had better add a configuration
> parameter to /etc/qemu/qemu.conf to allow admins to turn this feature
> on/off, with the default being off. At least until QEMU can support a
> sensibly sized process name...
[snip]
> The patch looks fine, as long as you can add the qemu.conf config
> param to turn it on/off

Sure, attached.

I tried to make some of the whitespace in the sample config more consistent;
hope that doesn't cause headaches.

john
-- 
John Morrissey          _o            /\         ----  __o
jwm at horde.net        _-< \_          /  \       ----  <  \,
www.horde.net/    __(_)/_(_)________/    \_______(_) /_(_)__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-set-qemu-process-title.patch
Type: text/x-diff
Size: 7068 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101018/d399dbfb/attachment-0001.bin>


More information about the libvir-list mailing list