diff mbox

[10/18] virtio: Add macro for VIRTIO_CONFIG_S_NEEDS_RESET

Message ID 1429257573-7359-11-git-send-email-famz@redhat.com
State New
Headers show

Commit Message

Fam Zheng April 17, 2015, 7:59 a.m. UTC
Signed-off-by: Fam Zheng <famz@redhat.com>
---
 include/standard-headers/linux/virtio_config.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/include/standard-headers/linux/virtio_config.h b/include/standard-headers/linux/virtio_config.h
index bcc445b..34b8155 100644
--- a/include/standard-headers/linux/virtio_config.h
+++ b/include/standard-headers/linux/virtio_config.h
@@ -40,6 +40,8 @@ 
 #define VIRTIO_CONFIG_S_DRIVER_OK	4
 /* Driver has finished configuring features */
 #define VIRTIO_CONFIG_S_FEATURES_OK	8
+/* Device is in error state and should be reset */
+#define VIRTIO_CONFIG_S_NEEDS_RESET 0x40
 /* We've given up on this device. */
 #define VIRTIO_CONFIG_S_FAILED		0x80