io-error is for block device errors; it should always be preceded by a BLOCK_IO_ERROR event. I think vfio wants to use RUN_STATE_INTERNAL_ERROR instead.
Cc: Alex Williamson <alex.william...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> --- hw/misc/vfio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/misc/vfio.c b/hw/misc/vfio.c index 7437c2e..9d71d97 100644 --- a/hw/misc/vfio.c +++ b/hw/misc/vfio.c @@ -3978,7 +3978,7 @@ static void vfio_err_notifier_handler(void *opaque) __func__, vdev->host.domain, vdev->host.bus, vdev->host.slot, vdev->host.function); - vm_stop(RUN_STATE_IO_ERROR); + vm_stop(RUN_STATE_INTERNAL_ERROR); } /* -- 1.8.3.1