crosvm/devices
Daniel Verkamp 8a4a13d48d virtio-gpu: fix reporting of VIRTIO_F_VERSION_1
The virtio 1.0 feature flag is defined as a shift count, not a mask.

While we're at it, change the virtio gpu features() function to the
avail_features style used in other devices for consistency.

BUG=None
TEST=None

Change-Id: I704d9676cfe5f13d9a2f83eb9160937e94070d1e
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1198224
Reviewed-by: Zach Reizner <zachr@chromium.org>
2018-09-05 01:25:54 -07:00
..
src virtio-gpu: fix reporting of VIRTIO_F_VERSION_1 2018-09-05 01:25:54 -07:00
Cargo.toml virtio: Implement the 9P device 2018-08-08 13:45:44 -07:00