From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Srmot-000251-KH for qemu-devel@nongnu.org; Thu, 19 Jul 2012 05:14:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Srmog-0006to-Dl for qemu-devel@nongnu.org; Thu, 19 Jul 2012 05:14:51 -0400 Received: from mail-lb0-f173.google.com ([209.85.217.173]:56220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Srmog-0006tb-6C for qemu-devel@nongnu.org; Thu, 19 Jul 2012 05:14:38 -0400 Received: by lbok6 with SMTP id k6so3777968lbo.4 for ; Thu, 19 Jul 2012 02:14:37 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20120718182950.GB2498@redhat.com> References: <1342624074-24650-1-git-send-email-stefanha@linux.vnet.ibm.com> <1342624074-24650-7-git-send-email-stefanha@linux.vnet.ibm.com> <20120718182950.GB2498@redhat.com> Date: Thu, 19 Jul 2012 10:14:37 +0100 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Qemu-devel] [RFC v9 06/27] virtio-blk: Take PCI memory range into account List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Kevin Wolf , Anthony Liguori , Stefan Hajnoczi , kvm@vger.kernel.org, qemu-devel@nongnu.org, Khoa Huynh , Paolo Bonzini , Asias He On Wed, Jul 18, 2012 at 7:29 PM, Michael S. Tsirkin wrote: > On Wed, Jul 18, 2012 at 04:07:33PM +0100, Stefan Hajnoczi wrote: >> Support >4 GB physical memory accesses. >> >> Signed-off-by: Stefan Hajnoczi > > Need some sane APIs, this is just too scary. Yes, this prototype has (at least) two layering violations: 1. Bypassing QEMU's memory subsystem because it isn't thread-safe. 2. Bypassing block layer and extracting the underlying fd out of a raw-posix file, allowing us to do our own Linux AIO. Stefan