virtio: add legacy feature table support
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 23 Oct 2014 15:07:47 +0000 (18:07 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:05:26 +0000 (12:05 +0200)
commitb3bb62d11950eb6ac87403cacd667f84fa9495bc
treef3aee72f5e622722d19c484c7f5925990e97cffb
parentc102659d690d382171bd2e40f35c5c811f0cdcac
virtio: add legacy feature table support

virtio-blk has some legacy feature bits that modern drivers
must not negotiate, but are needed for old legacy hosts
(that e.g. don't support virtio-scsi).
Allow a separate legacy feature table for such cases.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
drivers/virtio/virtio.c
include/linux/virtio.h