diff options
| author | Paolo Bonzini | 2014-06-30 17:56:08 +0200 |
|---|---|---|
| committer | Alex Williamson | 2014-06-30 17:56:08 +0200 |
| commit | ba29776fd8160a5c1c1892af5e237fc37aec3cf7 (patch) | |
| tree | 06a94ae098fd4b986d6c3e84a966810f3651549d /hw/misc | |
| parent | vfio: Make BARs native endian (diff) | |
| download | qemu-ba29776fd8160a5c1c1892af5e237fc37aec3cf7.tar.gz qemu-ba29776fd8160a5c1c1892af5e237fc37aec3cf7.tar.xz qemu-ba29776fd8160a5c1c1892af5e237fc37aec3cf7.zip | |
vfio: use correct runstate
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.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/misc')
| -rw-r--r-- | hw/misc/vfio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/vfio.c b/hw/misc/vfio.c index d32678e2fe..aef4c9ce9d 100644 --- a/hw/misc/vfio.c +++ b/hw/misc/vfio.c @@ -4062,7 +4062,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); } /* |
