[pve-devel] applied: [PATCH qemu-server v2] vm_start: add syslog info with which PID a VM was started
Thomas Lamprecht
t.lamprecht at proxmox.com
Sun Nov 10 20:16:56 CET 2024
Am 23.10.24 um 11:55 schrieb Daniel Kral:
> Adds a syslog entry to log the process id that has been given to the
> QEMU VM process at start. This is helpful debugging information if the
> pid shows up at other places, like a kernel stack trace, while the VM
> has been running, but cannot be retrieved anymore (e.g. the pidfile has
> been deleted or only the syslog is available).
>
> The syslog has been put in the `PVE::QemuServer::vm_start_nolock`
> subroutine to make sure that the PID is logged not only when the VM has
> been started by the API endpoint `vm_start`, but also when the VM is
> started by a remote migration.
>
> Suggested-by: Hannes Dürr <h.duerr at proxmox.com>
> Suggested-by: Friedrich Weber <f.weber at proxmox.com>
> Signed-off-by: Daniel Kral <d.kral at proxmox.com>
> ---
> Differences to v1:
> - Fix commit message trailer order
> - Uppercase PID in syslog message
>
> PVE/QemuServer.pm | 3 +++
> 1 file changed, 3 insertions(+)
>
>
applied, with Daniel Herzig's R-b, thanks!
More information about the pve-devel
mailing list