[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160201212257.GA9803@citrix.com>
Date: Mon, 1 Feb 2016 21:22:57 +0000
From: Wei Liu <wei.liu2@...rix.com>
To: Andy Lutomirski <luto@...capital.net>
CC: Wei Liu <wei.liu2@...rix.com>, Andy Lutomirski <luto@...nel.org>,
"Michael S. Tsirkin" <mst@...hat.com>,
Cornelia Huck <cornelia.huck@...ibm.com>,
"Joerg Roedel" <jroedel@...e.de>, KVM <kvm@...r.kernel.org>,
linux-s390 <linux-s390@...r.kernel.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Stefano Stabellini <stefano.stabellini@...citrix.com>,
Sebastian Ott <sebott@...ux.vnet.ibm.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Christoph Hellwig <hch@....de>,
"Christian Borntraeger" <borntraeger@...ibm.com>,
David Vrabel <david.vrabel@...rix.com>,
"xen-devel@...ts.xenproject.org" <xen-devel@...ts.xenproject.org>,
<sparclinux@...r.kernel.org>, Paolo Bonzini <pbonzini@...hat.com>,
"Linux Virtualization" <virtualization@...ts.linux-foundation.org>,
David Woodhouse <dwmw2@...radead.org>,
"David S. Miller" <davem@...emloft.net>,
"Martin Schwidefsky" <schwidefsky@...ibm.com>
Subject: Re: [Xen-devel] [PATCH v5 00/10] virtio DMA API, yet again
On Mon, Feb 01, 2016 at 10:04:07AM -0800, Andy Lutomirski wrote:
> On Mon, Feb 1, 2016 at 3:00 AM, Wei Liu <wei.liu2@...rix.com> wrote:
> > Nice work, Andy.
> >
> > On Thu, Jan 28, 2016 at 06:31:13PM -0800, Andy Lutomirski wrote:
> >> This switches virtio to use the DMA API on Xen and if requested by
> >> module option.
> >>
> >> This fixes virtio on Xen, and it should break anything because it's
> >> off by default on everything except Xen PV on x86.
> >>
> >
> > What is your setup? My understanding is that virtio doesn't work on PV
> > guest as of now because a suitable transport is missing.
>
> I cheated and ran Xen under KVM with the virtio-pci device provided by
> QEMU. If you have virtme
> (https://git.kernel.org/cgit/utils/kernel/virtme/virtme.git/), you can
> do:
>
Thanks for the clarification. This is exactly what I needed to know. In
that case virtio-pci transport is used. All virtio devices are exposed
as PCI devices.
Wei.
> virtme-run --kdir=. --pwd --xen xen-4.5.2 --qemu-opts -smp 3 -m 1024
>
> where xen-4.5.2 is the gunzipped Xen binary. (Other versions work, too.)
>
> --Andy
Powered by blists - more mailing lists