From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muli Ben-Yehuda Subject: Re: [PATCH] Enable non page boundary BAR device assignment Date: Thu, 10 Dec 2009 12:37:37 +0200 Message-ID: <20091210103737.GG10800@il.ibm.com> References: <1260380334-8323-1-git-send-email-agraf@suse.de> <20091210051604.GA9049@il.ibm.com> <20091210094357.GC11028@redhat.com> <20091210102301.GC10800@il.ibm.com> <6615086C-8CA1-4AFE-A95D-3DC337375749@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Michael S. Tsirkin" , kvm@vger.kernel.org To: Alexander Graf Return-path: Received: from mtagate6.uk.ibm.com ([194.196.100.166]:33421 "EHLO mtagate6.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932991AbZLJKhc (ORCPT ); Thu, 10 Dec 2009 05:37:32 -0500 Received: from d06nrmr1707.portsmouth.uk.ibm.com (d06nrmr1707.portsmouth.uk.ibm.com [9.149.39.225]) by mtagate6.uk.ibm.com (8.13.1/8.13.1) with ESMTP id nBAAbcPp020117 for ; Thu, 10 Dec 2009 10:37:38 GMT Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id nBAAbcLn1245188 for ; Thu, 10 Dec 2009 10:37:38 GMT Received: from d06av01.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id nBAAbbQG008522 for ; Thu, 10 Dec 2009 10:37:38 GMT Content-Disposition: inline In-Reply-To: <6615086C-8CA1-4AFE-A95D-3DC337375749@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Dec 10, 2009 at 11:31:01AM +0100, Alexander Graf wrote: > > What do you have in mind for such a rewrite? > > I'd like to see it more well-abstracted and versatile. I don't see > an obvious reason why we shouldn't be able to use a physical device > in a TCG target :-). mmio and pio are easy, DMA you'd need an IOMMU for security, or whatever uio does just for translation, and interrupts you probably get for free from uio. Seems eminently doable to me. Why you'd want to is another matter :-) Cheers, Muli