VMM: Added a helper function for validating device features
authorMichael Taufen <mtaufen@gmail.com>
Wed, 4 May 2016 03:40:34 +0000 (20:40 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 13 May 2016 14:42:56 +0000 (10:42 -0400)
commit1a7293b9f12eccf2322de139971e6a00a9da7649
tree23139b6079bffe1acac003990e2ecb23ba02d661
parent63444022515475880d0bed6d1b3e196e3b031d65
VMM: Added a helper function for validating device features

As we add more devices (e.g. network), we can add more cases for
device-specific feature validation to this function.

Signed-off-by: Michael Taufen <mtaufen@gmail.com>
[formatting]
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/vmm/include/vmm/virtio.h
user/vmm/virtio.c [new file with mode: 0644]