diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-11-27 21:19:02 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-12-09 12:05:23 +0200 |
commit | d4024af56f7c6cdb7e721994204fb07b2cda8be9 (patch) | |
tree | ad4b88708d07b9e0bab862d31d8e39cfd4e8ef85 /tools/virtio | |
parent | b2776bf7149bddd1f4161f14f79520f17fc1d71d (diff) |
virtio: add low-level APIs for feature bits
Add low level APIs to test/set/clear feature bits.
For use by transports, to make it easier to
write code independent of feature bit array format.
Note: APIs is prefixed with __ and has _bit suffix
to stress its low level nature. It's for use by transports only:
drivers should use virtio_has_feature and never need to set/clear
features.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions