Re: [PATCH v4 11/42] virtio: add legacy feature table support

2014-11-26 Thread Cornelia Huck
On Tue, 25 Nov 2014 23:39:42 +0200 "Michael S. Tsirkin" wrote: > On Tue, Nov 25, 2014 at 06:53:42PM +0100, Cornelia Huck wrote: > > On Tue, 25 Nov 2014 18:42:09 +0200 > > "Michael S. Tsirkin" wrote: > > > - dev->features = driver_features & device_features; > > > + /* Some drivers have a separa

Re: [PATCH v4 11/42] virtio: add legacy feature table support

2014-11-25 Thread Michael S. Tsirkin
On Tue, Nov 25, 2014 at 06:53:42PM +0100, Cornelia Huck wrote: > On Tue, 25 Nov 2014 18:42:09 +0200 > "Michael S. Tsirkin" wrote: > > > virtio blk has some legacy feature bits that modern drivers > > virtio-blk > > > must not negotiate, but are needed for old legacy hosts > > (e.g. that dn't su

Re: [PATCH v4 11/42] virtio: add legacy feature table support

2014-11-25 Thread Cornelia Huck
On Tue, 25 Nov 2014 18:42:09 +0200 "Michael S. Tsirkin" wrote: > virtio blk has some legacy feature bits that modern drivers virtio-blk > must not negotiate, but are needed for old legacy hosts > (e.g. that dn't support virtio scsi). (that e.g. don't support virtio-scsi) > Allow a separate le

[PATCH v4 11/42] virtio: add legacy feature table support

2014-11-25 Thread Michael S. Tsirkin
virtio blk has some legacy feature bits that modern drivers must not negotiate, but are needed for old legacy hosts (e.g. that dn't support virtio scsi). Allow a separate legacy feature table for such cases. Signed-off-by: Michael S. Tsirkin --- include/linux/virtio.h | 4 drivers/virtio/