Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtio.h: add new api virtio_has_feature()
virtio_has_feature() can be easily used to heck if the virtio device support a specific feature. And assgin feature to vdev->feature for virtio device role when get features, so the virtio device side can use virtio_has_featrue() to check weather the virtio device support a feature. Signed-off-by: Bowen Wang <[email protected]>
- Loading branch information