summaryrefslogtreecommitdiffstats
path: root/include/standard-headers/linux/virtio_blk.h
diff options
context:
space:
mode:
authorPaolo Bonzini2019-01-04 09:27:31 +0100
committerMichael S. Tsirkin2019-02-04 06:08:58 +0100
commitda054c646c777bcb487326f46cd5bf9932b05128 (patch)
tree09262b1a23eea5decb6604e85a6fcc748d1d3346 /include/standard-headers/linux/virtio_blk.h
parentscripts/update-linux-headers.sh: adjust for Linux 4.21-rc1 (or 5.0-rc1) (diff)
downloadqemu-da054c646c777bcb487326f46cd5bf9932b05128.tar.gz
qemu-da054c646c777bcb487326f46cd5bf9932b05128.tar.xz
qemu-da054c646c777bcb487326f46cd5bf9932b05128.zip
include: update Linux headers to 4.21-rc1/5.0-rc1
This is simply running the newly-updated script on Linux, in order to obtain the new header files and all the other updates from the recent Linux merge window. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/standard-headers/linux/virtio_blk.h')
-rw-r--r--include/standard-headers/linux/virtio_blk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/standard-headers/linux/virtio_blk.h b/include/standard-headers/linux/virtio_blk.h
index ab16ec5fd2..ae6e865fee 100644
--- a/include/standard-headers/linux/virtio_blk.h
+++ b/include/standard-headers/linux/virtio_blk.h
@@ -112,6 +112,12 @@ struct virtio_blk_config {
/* Get device ID command */
#define VIRTIO_BLK_T_GET_ID 8
+/* Discard command */
+#define VIRTIO_BLK_T_DISCARD 11
+
+/* Write zeroes command */
+#define VIRTIO_BLK_T_WRITE_ZEROES 13
+
#ifndef VIRTIO_BLK_NO_LEGACY
/* Barrier before this op. */
#define VIRTIO_BLK_T_BARRIER 0x80000000