free_assigned_device removes the assigned device from the list adev_head, needn't remove it in assigned_dev_update_irqs. Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx> --- qemu/hw/device-assignment.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/qemu/hw/device-assignment.c b/qemu/hw/device-assignment.c index 82ff00a..e6d2352 100644 --- a/qemu/hw/device-assignment.c +++ b/qemu/hw/device-assignment.c @@ -522,7 +522,6 @@ void assigned_dev_update_irqs() adev->name, strerror(-r)); fprintf(stderr, "Perhaps you are assigning a device " "that shares an IRQ with another device?\n"); - LIST_REMOVE(adev, next); free_assigned_device(adev); adev = next; continue; -- 1.6.0.4
Attachment:
0003-kvm-qemu-fix-double-removal-of-assigned-device.patch
Description: 0003-kvm-qemu-fix-double-removal-of-assigned-device.patch