[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 4/4] vfio: use correct runstate
From: |
Alex Williamson |
Subject: |
[Qemu-devel] [PULL 4/4] vfio: use correct runstate |
Date: |
Mon, 30 Jun 2014 11:28:09 -0600 |
User-agent: |
StGit/0.17-dirty |
From: Paolo Bonzini <address@hidden>
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 <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>
---
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 d32678e..aef4c9c 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);
}
/*