[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/4] virtio: Move host features to backends
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 0/4] virtio: Move host features to backends |
Date: |
Fri, 17 Apr 2015 15:00:45 +0100 |
On 17 April 2015 at 14:43, Cornelia Huck <address@hidden> wrote:
> On Fri, 17 Apr 2015 20:13:42 +0800
> Shannon Zhao <address@hidden> wrote:
>
> [Some questions may be silly, but I'm not familiar with the virtio-mmio
> code]
>
>> The reason to do this is that the virtio-net-device can't expose host
>> features to guest while using virtio-mmio. So the performance is low.
>
> So how does virtio-mmio expose any host features?
The features are properties of the backend, not the transport.
So for devices where we didn't set these up as "properties
exist on the backend and the compatibility transport+backend
wrapper devices just forward those properties to the backend",
you can't set the properties. We got this right for some of
the backends (eg blk) but not all of them, I think.
NB: I haven't looked at the code in these patches yet, so this is
just the way I think it ought to work... it's not clear to me
yet why we need to change the s390 transports in this patchset.
-- PMM
- Re: [Qemu-devel] [PATCH 1/4] hw/s390x/virtio-ccw: Add virtio_ccw_device_plugged for virtio-ccw, (continued)
- [Qemu-devel] [PATCH 4/4] virtio-scsi: Move DEFINE_VIRTIO_SCSI_FEATURES to virtio-scsi, Shannon Zhao, 2015/04/17
- Re: [Qemu-devel] [PATCH 0/4] virtio: Move host features to backends, Cornelia Huck, 2015/04/17
- Re: [Qemu-devel] [PATCH 0/4] virtio: Move host features to backends,
Peter Maydell <=
- Re: [Qemu-devel] [PATCH 0/4] virtio: Move host features to backends, Cornelia Huck, 2015/04/20
- Re: [Qemu-devel] [PATCH 0/4] virtio: Move host features to backends, Peter Maydell, 2015/04/20
- Re: [Qemu-devel] [PATCH 0/4] virtio: Move host features to backends, Michael S. Tsirkin, 2015/04/20
- Re: [Qemu-devel] [PATCH 0/4] virtio: Move host features to backends, Cornelia Huck, 2015/04/20
- Re: [Qemu-devel] [PATCH 0/4] virtio: Move host features to backends, Michael S. Tsirkin, 2015/04/20