From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcNNa-0001BH-C5 for qemu-devel@nongnu.org; Tue, 23 Aug 2016 21:53:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcNNX-0007aM-5w for qemu-devel@nongnu.org; Tue, 23 Aug 2016 21:53:22 -0400 Received: from mail-ua0-f173.google.com ([209.85.217.173]:34746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcNNW-0007ZB-Pp for qemu-devel@nongnu.org; Tue, 23 Aug 2016 21:53:19 -0400 Received: by mail-ua0-f173.google.com with SMTP id k90so4459781uak.1 for ; Tue, 23 Aug 2016 18:53:18 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1471528312.3820.48.camel@redhat.com> References: <20160817161303.jdglwirs522vn2wa@kamzik.localdomain> <45cfb252-6690-f274-d641-d1d3bff29ae3@redhat.com> <1471528312.3820.48.camel@redhat.com> From: Kevin Zhao Date: Wed, 24 Aug 2016 09:52:16 +0800 Message-ID: Content-Type: text/plain; charset=UTF-8 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: Andrea Bolognani Cc: Laine Stump , QEMU Developers , Andrew Jones , qemu-arm , Thomas Hanson , Peter Maydell , Gema Gomez-Solano , Marcel Apfelbaum Great ~ Thanks for your valuable information~ I will try with the xml and any update I will post here. On 18 August 2016 at 21:51, Andrea Bolognani wrote: > On Thu, 2016-08-18 at 20:43 +0800, Kevin Zhao wrote: > > What's the minimum version of Qemu that support virito-1.0? > > Does Qemu 2.6 works? > > 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, if 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. > > > > abologna-f24 > f6d0428b-a034-4c4e-8ef2-f12f6aa9cab0 > 2097152 > 2097152 > 4 > > hvm > /usr/share/ > AAVMF/AAVMF_CODE.fd > /var/lib/libvirt/qemu/nvram/abologna-f24_VARS.fd > > > > > > > > destroy > restart > restart > > /usr/libexec/abologna-qemu-kvm > > > > >
function='0x0'/> > > > > > >
function='0x0'/> > > > > >
function='0x0'/> > > >
> > > > > > >
function='0x0'/> > > > > > > > > > > >
> > > > > -- > Andrea Bolognani / Red Hat / Virtualization >