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 =C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