[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALCETrU4tJ0pta96tvmuUYB_hKF8_2+bYOZ-qrFTytyXfDchXQ@mail.gmail.com>
Date: Mon, 1 Feb 2016 10:04:07 -0800
From: Andy Lutomirski <luto@...capital.net>
To: Wei Liu <wei.liu2@...rix.com>
Cc: 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 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:
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