From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.25.21.156 with SMTP id 28csp329622lfv; Thu, 18 Aug 2016 06:53:36 -0700 (PDT) X-Received: by 10.200.50.82 with SMTP id y18mr2513700qta.29.1471528416253; Thu, 18 Aug 2016 06:53:36 -0700 (PDT) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id o97si1293897qko.135.2016.08.18.06.53.36 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 18 Aug 2016 06:53:36 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Received: from localhost ([::1]:52806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baNlH-0002dh-J5 for alex.bennee@linaro.org; Thu, 18 Aug 2016 09:53:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baNjo-0001XA-IJ for qemu-arm@nongnu.org; Thu, 18 Aug 2016 09:52:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1baNjh-0004AH-C5 for qemu-arm@nongnu.org; Thu, 18 Aug 2016 09:52:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baNjh-0004A9-3Q; Thu, 18 Aug 2016 09:51:57 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4D61D4E4D7; Thu, 18 Aug 2016 13:51:56 +0000 (UTC) Received: from dhcp129-212.brq.redhat.com (dhcp129-212.brq.redhat.com [10.34.129.212]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7IDpr0r020358 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 18 Aug 2016 09:51:54 -0400 Message-ID: <1471528312.3820.48.camel@redhat.com> From: Andrea Bolognani To: Kevin Zhao , Laine Stump Date: Thu, 18 Aug 2016 15:51:52 +0200 In-Reply-To: References: <20160817161303.jdglwirs522vn2wa@kamzik.localdomain> <45cfb252-6690-f274-d641-d1d3bff29ae3@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 18 Aug 2016 13:51:56 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: Re: [Qemu-arm] [Qemu-devel] Help: Does Qemu support virtio-pci for net-device and disk device? X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marcel Apfelbaum , Peter Maydell , Andrew Jones , Gema Gomez-Solano , QEMU Developers , Thomas Hanson , qemu-arm Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: GWLKOZykwTbm On Thu, 2016-08-18 at 20:43 +0800, Kevin Zhao wrote: > What's the minimum version of=C2=A0=C2=A0Qemu that support virito-1.0? > Does Qemu 2.6 works?=C2=A0 2.6 definitely has virtio 1.0 support, however libvirt does not yet allow you to control whether a device uses 0.9, 1.0 or both. The default for 2.6 should be both IIRC. > Now I will manually add the slots and bus to pcie. Because > I am not familiar with it,=C2=A0=C2=A0if it convenient, could you give > me an available xml file which PCIE disk and PCIE > net device can work for machine virt ? The XML you're looking for is at the end of this message. Note that a Fedora 24 guest configured this way will not boot at all if the machine type is virt-2.6; on the other hand, an identically-configured RHEL 7.3 guest will boot even with virt-2.6, but both the disk and the network adapter will be legacy PCI instead of PCIe. =C2=A0 abologna-f24 =C2=A0 f6d0428b-a034-4c4e-8ef2-f12f6aa9cab0 =C2=A0 2097152 =C2=A0 2097152 =C2=A0 4 =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0hvm =C2=A0=C2=A0=C2=A0=C2=A0/usr/sha= re/AAVMF/AAVMF_CODE.fd =C2=A0=C2=A0=C2=A0=C2=A0/var/lib/libvirt/qemu/nvram/abologna-f24_V= ARS.fd =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 destroy =C2=A0 restart =C2=A0 restart =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0/usr/libexec/abologna-qemu-kvm =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 --=C2=A0 Andrea Bolognani / Red Hat / Virtualization From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baNjw-0001dA-37 for qemu-devel@nongnu.org; Thu, 18 Aug 2016 09:52:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1baNjv-0004DI-0N for qemu-devel@nongnu.org; Thu, 18 Aug 2016 09:52:12 -0400 Message-ID: <1471528312.3820.48.camel@redhat.com> From: Andrea Bolognani Date: Thu, 18 Aug 2016 15:51:52 +0200 In-Reply-To: References: <20160817161303.jdglwirs522vn2wa@kamzik.localdomain> <45cfb252-6690-f274-d641-d1d3bff29ae3@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Help: Does Qemu support virtio-pci for net-device and disk device? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Zhao , Laine Stump Cc: QEMU Developers , Andrew Jones , qemu-arm , Thomas Hanson , Peter Maydell , Gema Gomez-Solano , Marcel Apfelbaum On Thu, 2016-08-18 at 20:43 +0800, Kevin Zhao wrote: > What's the minimum version of=C2=A0=C2=A0Qemu that support virito-1.0? > Does Qemu 2.6 works?=C2=A0 2.6 definitely has virtio 1.0 support, however libvirt does not yet allow you to control whether a device uses 0.9, 1.0 or both. The default for 2.6 should be both IIRC. > Now I will manually add the slots and bus to pcie. Because > I am not familiar with it,=C2=A0=C2=A0if it convenient, could you give > me an available xml file which PCIE disk and PCIE > net device can work for machine virt ? The XML you're looking for is at the end of this message. Note that a Fedora 24 guest configured this way will not boot at all if the machine type is virt-2.6; on the other hand, an identically-configured RHEL 7.3 guest will boot even with virt-2.6, but both the disk and the network adapter will be legacy PCI instead of PCIe. =C2=A0 abologna-f24 =C2=A0 f6d0428b-a034-4c4e-8ef2-f12f6aa9cab0 =C2=A0 2097152 =C2=A0 2097152 =C2=A0 4 =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0hvm =C2=A0=C2=A0=C2=A0=C2=A0/usr/sha= re/AAVMF/AAVMF_CODE.fd =C2=A0=C2=A0=C2=A0=C2=A0/var/lib/libvirt/qemu/nvram/abologna-f24_V= ARS.fd =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 =C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