From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RFC PATCH] vfio: VFIO PCI driver for Qemu Date: Wed, 25 Jul 2012 22:30:59 +0300 Message-ID: <50104973.3090302@redhat.com> References: <20120725165948.17260.82862.stgit@bling.home> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: aik@ozlabs.ru, qemu-devel@nongnu.org, kvm@vger.kernel.org To: Alex Williamson Return-path: In-Reply-To: <20120725165948.17260.82862.stgit@bling.home> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: 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.