From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH V2] VFIO driver: Non-privileged user level PCI drivers Date: Wed, 9 Jun 2010 19:05:50 +0300 Message-ID: <20100609160550.GA22312@redhat.com> References: <4c0eb470.1HMjondO00NIvFM6%pugs@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: randy.dunlap@oracle.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, chrisw@sous-sol.org, joro@8bytes.org, hjk@linutronix.de, avi@redhat.com, gregkh@suse.de, aafabbri@cisco.com, scofeldm@cisco.com To: Tom Lyon Return-path: Content-Disposition: inline In-Reply-To: <4c0eb470.1HMjondO00NIvFM6%pugs@cisco.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Tue, Jun 08, 2010 at 02:21:52PM -0700, Tom Lyon wrote: > + case VFIO_DOMAIN_UNSET: > + vfio_domain_unset(vdev); > + ret = 0; > + break; > + What if I do: SET mmap UNSET Now I have access to device which is not behind an iommu. Simplest solution is to remove the UNSET ioctl: it's not terribly useful anyway. -- MST