From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Su7Ic-0004Ak-5M for qemu-devel@nongnu.org; Wed, 25 Jul 2012 15:31:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Su7Ia-00069R-Az for qemu-devel@nongnu.org; Wed, 25 Jul 2012 15:31:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Su7Ia-00069E-2m for qemu-devel@nongnu.org; Wed, 25 Jul 2012 15:31:08 -0400 Message-ID: <50104973.3090302@redhat.com> Date: Wed, 25 Jul 2012 22:30:59 +0300 From: Avi Kivity MIME-Version: 1.0 References: <20120725165948.17260.82862.stgit@bling.home> In-Reply-To: <20120725165948.17260.82862.stgit@bling.home> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH] vfio: VFIO PCI driver for Qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: aik@ozlabs.ru, qemu-devel@nongnu.org, kvm@vger.kernel.org On 07/25/2012 08:03 PM, Alex Williamson wrote: > This adds PCI based device assignment to Qemu using the Linux VFIO > userspace driver interface. After setting up VFIO device access, > devices can be added to Qemu guests using the vfio-pci device > option: > > -device vfio-pci,host=1:10.1,id=net0 > > Let's use the same syntax as for kvm device assignment. Then we can fall back on kvm when vfio is not available. We can also have an optional parameter kernel-driver to explicitly select vfio or kvm. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.