commit | 404123c2db798027e852480ed9c4accef9f1d9e6 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Wed Mar 29 19:06:20 2017 +0300 |
committer | Michael S. Tsirkin <mst@redhat.com> | Fri Apr 07 16:38:59 2017 +0300 |
tree | 07f8ecc47704cfbc7759e19d0121acf201f7e6ba | |
parent | 2e123b44a3c19de75f40ee0081d6d4fc04adfdc7 [diff] |
virtio: allow drivers to validate features Some drivers can't support all features in all configurations. At the moment we blindly set FEATURES_OK and later FAILED. Support this better by adding a callback drivers can use to do some early checks. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>