From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZluiO-0001jV-WE for qemu-devel@nongnu.org; Tue, 13 Oct 2015 04:13:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZluiK-0007TM-0G for qemu-devel@nongnu.org; Tue, 13 Oct 2015 04:13:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZluiJ-0007T8-Qi for qemu-devel@nongnu.org; Tue, 13 Oct 2015 04:13:39 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 69FB0C0C9A70 for ; Tue, 13 Oct 2015 08:13:39 +0000 (UTC) Message-ID: <1444724017.19915.35.camel@redhat.com> From: Gerd Hoffmann Date: Tue, 13 Oct 2015 10:13:37 +0200 In-Reply-To: <20151012183823-mutt-send-email-mst@redhat.com> References: <1444663074-32617-1-git-send-email-marcel@redhat.com> <20151012183823-mutt-send-email-mst@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC] hw/virtio: Add PCIe capability to virtio devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Marcel Apfelbaum , qemu-devel@nongnu.org On Mo, 2015-10-12 at 18:42 +0300, Michael S. Tsirkin wrote: > On Mon, Oct 12, 2015 at 06:17:54PM +0300, Marcel Apfelbaum wrote: > > The virtio devices are converted to PCI-Express > > if they are plugged into a PCI-Express bus and > > the 'modern' protocol is enabled. > > > > Signed-off-by: Marcel Apfelbaum > > --- > > > > This is an RFC because all it does it adds the PCIe capability and nothing more. > > Express capability is easy. > But if you go over express space you will see that a bunch of > other capabilities are required, such as PM capability etc. > These might need more work. Also what about the legacy io bar? I guess we'd better avoid that for express devices. Maybe it makes sense to add virtio-*-pcie devices (virtio-1.0 only, with pcie caps)? cheers, Gerd