VMM: Added the VIRTIO_CONFIG_S_NEEDS_RESET bit to virtio_config.h
authorMichael Taufen <mtaufen@gmail.com>
Wed, 4 May 2016 18:40:46 +0000 (11:40 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 13 May 2016 14:42:56 +0000 (10:42 -0400)
commit5f3c1617b425d8996274ac2086fe2cc7dd081b2e
tree082afdfcaea80230ab0be46a0267146914dab961
parent3a9757807efe8568b3ba042ccccf09f05f8ca12a
VMM: Added the VIRTIO_CONFIG_S_NEEDS_RESET bit to virtio_config.h

We don't use the bit in our device implementation yet, and in fact the
drivers in Linux do not appear to use it either (searching the Linux
sourse only turns up the macro in virtio_config.h).

Notably, the bit definition was only added to Linux about a month ago.
See commit c00bbcf86289 ("virtio: add VIRTIO_CONFIG_S_NEEDS_RESET device
status bit") to https://github.com/torvalds/linux.

Signed-off-by: Michael Taufen <mtaufen@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/vmm/include/vmm/virtio_config.h