0cd09c3a6c
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> |
||
---|---|---|
.. | ||
codir.c | ||
cofile.c | ||
cofs.c | ||
coxattr.c | ||
Makefile.objs | ||
virtio-9p-coth.c | ||
virtio-9p-coth.h | ||
virtio-9p-device.c | ||
virtio-9p-handle.c | ||
virtio-9p-local.c | ||
virtio-9p-posix-acl.c | ||
virtio-9p-proxy.c | ||
virtio-9p-proxy.h | ||
virtio-9p-synth.c | ||
virtio-9p-synth.h | ||
virtio-9p-xattr-user.c | ||
virtio-9p-xattr.c | ||
virtio-9p-xattr.h | ||
virtio-9p.c | ||
virtio-9p.h |