|
|
9ae3a8 |
From 78d0d122c47898c20a5209d0020674d28b42c513 Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
From: Alex Williamson <alex.williamson@redhat.com>
|
|
|
9ae3a8 |
Date: Fri, 10 Apr 2015 16:34:02 +0200
|
|
|
9ae3a8 |
Subject: [PATCH 05/14] vfio: use correct runstate
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Message-id: <20150410163402.15324.34238.stgit@gimli.home>
|
|
|
9ae3a8 |
Patchwork-id: 64791
|
|
|
9ae3a8 |
O-Subject: [RHEL7.2 qemu-kvm PATCH 5/8] vfio: use correct runstate
|
|
|
9ae3a8 |
Bugzilla: 1210505
|
|
|
9ae3a8 |
RH-Acked-by: Thomas Huth <thuth@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Bandan Das <bsd@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
From: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Upstream: ba29776fd8160a5c1c1892af5e237fc37aec3cf7
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
io-error is for block device errors; it should always be preceded
|
|
|
9ae3a8 |
by a BLOCK_IO_ERROR event. I think vfio wants to use
|
|
|
9ae3a8 |
RUN_STATE_INTERNAL_ERROR instead.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
9ae3a8 |
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
|
|
|
9ae3a8 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
hw/misc/vfio.c | 2 +-
|
|
|
9ae3a8 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/hw/misc/vfio.c b/hw/misc/vfio.c
|
|
|
9ae3a8 |
index 81e6594..f6e019c 100644
|
|
|
9ae3a8 |
--- a/hw/misc/vfio.c
|
|
|
9ae3a8 |
+++ b/hw/misc/vfio.c
|
|
|
9ae3a8 |
@@ -3650,7 +3650,7 @@ static void vfio_err_notifier_handler(void *opaque)
|
|
|
9ae3a8 |
__func__, vdev->host.domain, vdev->host.bus,
|
|
|
9ae3a8 |
vdev->host.slot, vdev->host.function);
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
- vm_stop(RUN_STATE_IO_ERROR);
|
|
|
9ae3a8 |
+ vm_stop(RUN_STATE_INTERNAL_ERROR);
|
|
|
9ae3a8 |
}
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
/*
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
1.8.3.1
|
|
|
9ae3a8 |
|