From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAuj6-0008GL-GQ for qemu-devel@nongnu.org; Fri, 03 Jul 2015 02:45:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAuj3-0005YR-9w for qemu-devel@nongnu.org; Fri, 03 Jul 2015 02:45:32 -0400 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]:36520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAuj2-0005Xd-Vw for qemu-devel@nongnu.org; Fri, 03 Jul 2015 02:45:29 -0400 Received: by wguu7 with SMTP id u7so80263110wgu.3 for ; Thu, 02 Jul 2015 23:45:28 -0700 (PDT) Sender: Paolo Bonzini References: <1435568020-8669-1-git-send-email-kraxel@redhat.com> <1435568020-8669-3-git-send-email-kraxel@redhat.com> From: Paolo Bonzini Message-ID: <55962F84.1090902@redhat.com> Date: Fri, 3 Jul 2015 08:45:24 +0200 MIME-Version: 1.0 In-Reply-To: <1435568020-8669-3-git-send-email-kraxel@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 02/18] virtio: run drivers in 32bit mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , seabios@seabios.org Cc: qemu-devel@nongnu.org, "Michael S. Tsirkin" On 29/06/2015 10:53, Gerd Hoffmann wrote: > virtio version 1.0 registers can (and actually do in the qemu > implementation) live in mmio space. So we must run the blk and > scsi virtio drivers in 32bit mode, otherwise we can't access them. > > This also allows to drop a bunch of GET_LOWFLAT calls from the virtio > code in the following patches. This isn't really necessary though. The config access capability exists for this reason. At least as a follow up it would be nice to add a switch. Paolo