From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752619AbbJEJtv (ORCPT ); Mon, 5 Oct 2015 05:49:51 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:56799 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752486AbbJEJtu (ORCPT ); Mon, 5 Oct 2015 05:49:50 -0400 Date: Mon, 5 Oct 2015 10:49:32 +0100 From: Greg KH To: Avi Kivity Cc: Vlad Zolotarov , linux-kernel@vger.kernel.org, mst@redhat.com, hjk@hansjkoch.de, corbet@lwn.net, bruce.richardson@intel.com, avi@cloudius-systems.com, gleb@cloudius-systems.com, stephen@networkplumber.org, alexander.duyck@gmail.com Subject: Re: [PATCH v3 2/3] uio_pci_generic: add MSI/MSI-X support Message-ID: <20151005094932.GA5236@kroah.com> References: <1443991398-23761-1-git-send-email-vladz@cloudius-systems.com> <1443991398-23761-3-git-send-email-vladz@cloudius-systems.com> <20151005031159.GB27303@kroah.com> <56123493.9000602@scylladb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56123493.9000602@scylladb.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 05, 2015 at 11:28:03AM +0300, Avi Kivity wrote: > Of course it has to be documented, but this just follows vfio. > > Eventfd is a natural enough representation of an interrupt; both kvm and > vfio use it, and are also able to share the eventfd, allowing a vfio > interrupt to generate a kvm interrupt, without userspace intervention, and > one day without even kernel intervention. That's nice and wonderful, but it's not how UIO works today, so this is now going to be a mix and match type interface, with no justification so far as to why to create this new api and exactly how this is all going to be used from userspace. Example code would be even better... thanks, greg k-h