summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-04-08 01:20:40 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2016-04-08 01:20:40 +0200
commitd3436a1d03f9a416d8bedd968f16296e0140adcb (patch)
tree6809a3acc09cafafa4df0646154eb990eeccaab6 /include
parentMerge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (diff)
parentvirtio: add VIRTIO_CONFIG_S_NEEDS_RESET device status bit (diff)
downloadlinux-d3436a1d03f9a416d8bedd968f16296e0140adcb.tar.xz
linux-d3436a1d03f9a416d8bedd968f16296e0140adcb.zip
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull virtio/qemu fixes from Michael S Tsirkin: "A couple of fixes for virtio and for the new QEMU fw cfg driver" * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: virtio: add VIRTIO_CONFIG_S_NEEDS_RESET device status bit MAINTAINERS: add entry for QEMU firmware: qemu_fw_cfg.c: hold ACPI global lock during device access virtio: virtio 1.0 cs04 spec compliance for reset qemu_fw_cfg: don't leak kobj on init error
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/virtio_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/virtio_config.h b/include/uapi/linux/virtio_config.h
index c18264df9504..4cb65bbfa654 100644
--- a/include/uapi/linux/virtio_config.h
+++ b/include/uapi/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