Files
xemu/include
Cornelia Huck 0cd09c3a6c virtio: feature bit manipulation helpers
Add virtio_{add,clear}_feature helper functions for manipulating a
feature bits variable. This has some benefits over open coding:
- add check that the bit is in a sane range
- make it obvious at a glance what is going on
- have a central point to change when we want to extend feature bits

Convert existing code manipulating features to use the new helpers.

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
..
2015-02-16 15:07:19 +00:00
2015-02-06 16:11:38 +00:00
2015-02-26 13:04:04 +01:00
2015-02-16 17:30:19 +01:00
2015-02-16 17:30:19 +01:00
…
2014-09-29 14:55:27 -04:00
2015-02-16 15:07:19 +00:00
2015-02-05 17:16:14 +01:00