]> git.proxmox.com Git - mirror_qemu.git/commit
migration: add trace point when vm_stop_force_state fails
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 15 Apr 2021 13:33:51 +0000 (14:33 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 14 Jun 2021 12:28:50 +0000 (13:28 +0100)
commit626ff6515d41854dc8a880849ae2744c20a70ba7
tree2b2d99dc81d69341326bb39a1a6fffc6bee1eed5
parent213de8a2fb12f6962ded0240c900f728a72f8217
migration: add trace point when vm_stop_force_state fails

This is a critical failure scenario for migration that is hard to
diagnose from existing probes. Most likely it is caused by an error
from bdrv_flush(), but we're not logging the errno anywhere, hence
this new probe.

Reviewed-by: Connor Kuehl <ckuehl@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
migration/migration.c
migration/trace-events