commit | de1372d466fb4a7bed13f64f50bff14aaa4a5931 | [log] [tgz] |
---|---|---|
author | Thibaut Collet <thibaut.collet@6wind.com> | Fri Oct 09 17:17:33 2015 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Oct 22 14:34:49 2015 +0300 |
tree | e957bb3efdf5db99d8204f6808c195303155ebdb | |
parent | 3e866365e1eb6bcfa2d01c21debb05b9e47a47f7 [diff] |
vhost-user: use an enum helper for features mask The VHOST_USER_PROTOCOL_FEATURE_MASK will be automatically updated when adding new features to the enum. Signed-off-by: Thibaut Collet <thibaut.collet@6wind.com> [Adapted from mailing list discussion - Marc-André] Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Thibaut Collet <thibaut.collet@6wind.com>