]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
qemu_kill_report: Report PID name too
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 27 Sep 2016 15:24:57 +0000 (17:24 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 4 Oct 2016 08:00:27 +0000 (10:00 +0200)
commitfbe7e3327a8cfa1b08664c2cda7a0a341cf0530a
tree44231b9d2d45d592ab21f876c70f3741e75ca4ff
parent7dc9ae4339faa97e89daadb2e1098147ab4aadc8
qemu_kill_report: Report PID name too

When qemu is being killed, its last words are:

2016-08-31T11:48:15.293587Z qemu-system-x86_64: terminating on signal 15 from pid 11180

That's nice, but what process is 11180? What if I told you we can
do better:

2016-08-31T11:48:15.293587Z qemu-system-x86_64: terminating on signal 15 from pid 11180 (/usr/sbin/libvirtd)

And that's exactly what this patch does.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Message-Id: <a2ba85a8e349a0ea9ee06424226197a03cd04bd3.1474987617.git.mprivozn@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
vl.c