[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC v2 2/9] include: update virtio_config.h Linux header
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [RFC v2 2/9] include: update virtio_config.h Linux header |
Date: |
Tue, 29 Mar 2016 17:12:54 +0100 |
Bring in the VIRTIO_CONFIG_S_NEEDS_RESET device status bit definition.
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
include/standard-headers/linux/virtio_config.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/standard-headers/linux/virtio_config.h
b/include/standard-headers/linux/virtio_config.h
index bcc445b..b30d0cb 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 entered invalid state, driver must reset it */
+#define VIRTIO_CONFIG_S_NEEDS_RESET 0x40
/* We've given up on this device. */
#define VIRTIO_CONFIG_S_FAILED 0x80
--
2.5.5
- [Qemu-devel] [RFC v2 0/9] virtio: avoid exit() when device enters invalid states, Stefan Hajnoczi, 2016/03/29
- [Qemu-devel] [RFC v2 1/9] virtio: fix stray tab character, Stefan Hajnoczi, 2016/03/29
- [Qemu-devel] [RFC v2 2/9] include: update virtio_config.h Linux header,
Stefan Hajnoczi <=
- [Qemu-devel] [RFC v2 3/9] virtio: stop virtqueue processing if device is broken, Stefan Hajnoczi, 2016/03/29
- [Qemu-devel] [RFC v2 6/9] virtio: use unsigned int for virtqueue_get_avail_bytes() index, Stefan Hajnoczi, 2016/03/29
- [Qemu-devel] [RFC v2 4/9] virtio: handle virtqueue_map_desc() errors, Stefan Hajnoczi, 2016/03/29
- [Qemu-devel] [RFC v2 5/9] virtio: handle virtqueue_get_avail_bytes() errors, Stefan Hajnoczi, 2016/03/29
- [Qemu-devel] [RFC v2 9/9] virtio: handle virtqueue_get_head() errors, Stefan Hajnoczi, 2016/03/29
- [Qemu-devel] [RFC v2 7/9] virtio: handle virtqueue_read_next_desc() errors, Stefan Hajnoczi, 2016/03/29
- [Qemu-devel] [RFC v2 8/9] virtio: handle virtqueue_num_heads() errors, Stefan Hajnoczi, 2016/03/29