Received: from eggs.gnu.org ([2001:4830:134:3::10]:57208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPnc2-0000Hs-Fy for qemu-devel@nongnu.org; Wed, 20 Jul 2016 05:16:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPnbw-00048B-Hn for qemu-devel@nongnu.org; Wed, 20 Jul 2016 05:16:17 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:54014 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPnbw-000487-At for qemu-devel@nongnu.org; Wed, 20 Jul 2016 05:16:12 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u6K9F9ic104511 for ; Wed, 20 Jul 2016 05:16:11 -0400 Received: from e06smtp06.uk.ibm.com (e06smtp06.uk.ibm.com [195.75.94.102]) by mx0b-001b2d01.pphosted.com with ESMTP id 2496h7bxj1-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 20 Jul 2016 05:16:11 -0400 Received: from localhost by e06smtp06.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 20 Jul 2016 10:16:08 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 9E8161B0806E for ; Wed, 20 Jul 2016 10:17:30 +0100 (BST) Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u6K9G6LR3604940 for ; Wed, 20 Jul 2016 09:16:06 GMT Received: from d06av06.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u6K9G6ro022622 for ; Wed, 20 Jul 2016 05:16:06 -0400 Date: Wed, 20 Jul 2016 11:16:04 +0200 From: Cornelia Huck In-Reply-To: <1468953778-15295-1-git-send-email-marcel@redhat.com> References: <1468953778-15295-1-git-send-email-marcel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20160720111604.1573d0b7.cornelia.huck@de.ibm.com> Subject: Re: [Qemu-devel] [PATCH V2] hw/virtio-pci: fix virtio behaviour on modern (PCIe) machines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcel Apfelbaum Cc: qemu-devel@nongnu.org, mst@redhat.com On Tue, 19 Jul 2016 21:42:58 +0300 Marcel Apfelbaum wrote: > Modern machines are expected to be used by newer setups with > modern guests aiming the use of the latest features. > > Enable modern and disable legacy for virtio devices > plugged into PCIe ports (Root ports or Downstream ports). > Using the Virtio 1 mode will remove the limitation > of the number of devices that can be attached to a machine > by removing the need for the IO BAR. Stupid question: Does this limitation show up for legacy and transitional, but not for modern? Would it make sense then to default to modern for PCIe and transitional for non-PCIe? (The term "virtio-1" mode always confuses me a bit; this may be because ccw unlike pci does not have modern-only devices - and even if we had, basically the only difference would be that we'd disallow devices without the VERSION_1 feature.)