Fix double removal of assigned device
commitcc6c99f8f599432558d1f8978bebe9fb5264ab8a
authorWeidong Han <weidong.han@intel.com>
Fri, 6 Feb 2009 08:43:10 +0000 (6 16:43 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Feb 2009 10:04:12 +0000 (8 12:04 +0200)
tree72a6f19fe65e738fda8d57908834274f673903e2
parentebfa285b51d709ed28973c07bc2d155918197641
Fix double removal of assigned device

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@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/device-assignment.c