Message ID | 1273172292.2616.72.camel@localhost (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/device-assignment.c b/hw/device-assignment.c index 1f13a6d..b9cc06f 100644 --- a/hw/device-assignment.c +++ b/hw/device-assignment.c @@ -1390,6 +1390,7 @@ static int assigned_exitfn(struct PCIDevice *pci_dev) { AssignedDevice *dev = DO_UPCAST(AssignedDevice, dev, pci_dev); + QLIST_REMOVE(dev, next); deassign_device(dev); free_assigned_device(dev); return 0;