device assignemnt: updated patches

Ben-Ami Yassour
2008-07-22T12:14:42Z

Following are the device assignment patches with the fixes of the
comments that were sent for the previous version.

Here is the list of changes that were made with respect to the previous
version:
1. Replace the interrupt ack hook patches with the notifiers list patch
by Avi.
2. Remove code from ioapic - the ack notifier is called before the
checking the irr bit.
3. Remove the interrupt ack work queue and handle it directly.
4. Minimize the function for finding an assigned device.
5. Remove the pt_lock, after making the changes above it is no longer
needed.
6. Move declarations from kvm_para.h
7. Add irq array to ioctl API. Note that this is only a change to the
API, currently only single irq is supported.
8. Renaming: use "assigned device" and not "passthrough device"
9. Fix device release error path
10. Moving the assigned devices list pointer to the device struct itself
and remove the extra structure.

Pending comment: shared guest interrputs are not tested.

Comments are appriciated.

Regards,
Ben