From: Ben-Ami Yassour Subject: device assignemnt: updated patches Date: Tue, 22 Jul 2008 15:13:51 +0300 Message-ID: <1216728835-19721-1-git-send-email-benami@il.ibm.com> Cc: amit.shah@qumranet.com, kvm@vger.kernel.org, muli@il.ibm.com, benami@il.ibm.com, weidong.han@intel.com, anthony@codemonkey.ws To: avi@qumranet.com Return-path: Received: from mtagate2.uk.ibm.com ([195.212.29.135]:57135 "EHLO mtagate2.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754892AbYGVMOm (ORCPT ); Tue, 22 Jul 2008 08:14:42 -0400 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate2.uk.ibm.com (8.13.8/8.13.8) with ESMTP id m6MCDxLq234416 for ; Tue, 22 Jul 2008 12:13:59 GMT Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v9.0) with ESMTP id m6MCDw5G2289782 for ; Tue, 22 Jul 2008 13:13:58 +0100 Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m6MCDv8t011592 for ; Tue, 22 Jul 2008 13:13:58 +0100 Sender: kvm-owner@vger.kernel.org List-ID: 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