qemu/include/hw/virtio
Cornelia Huck ef546f1275 virtio: add feature checking helpers
Add a helper function for checking whether a bit is set in the guest
features for a vdev as well as one that works on a feature bit set.

Convert code that open-coded this: It cleans up the code and makes it
easier to extend the guest feature bits.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-02-26 13:04:07 +01:00
..
dataplane
vhost-backend.h
vhost-scsi.h
vhost.h
virtio-9p.h
virtio-access.h
virtio-balloon.h virtio-balloon: use standard headers 2015-02-26 13:04:03 +01:00
virtio-blk.h virtio-blk: switch to standard-headers 2015-02-26 13:04:04 +01:00
virtio-bus.h virtio: cull virtio_bus_set_vdev_features 2015-02-26 13:04:07 +01:00
virtio-net.h virtio-net,tap: use standard-headers 2015-02-26 13:04:04 +01:00
virtio-rng.h virtio-rng: use standard-headers 2015-02-26 13:04:04 +01:00
virtio-scsi.h virtio-scsi: use standard-headers 2015-02-26 13:04:05 +01:00
virtio-serial.h virtio-serial: switch to standard-headers 2015-02-26 13:04:05 +01:00
virtio.h virtio: add feature checking helpers 2015-02-26 13:04:07 +01:00