summaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-09-08 17:24:55 +0200
committerKevin Wolf <kwolf@redhat.com>2011-09-19 11:34:33 +0200
commitbbb74edd405bee8cf29957ef781294f40f02d4c6 (patch)
tree21b6146ec13eb98126afebc3baf421e104d5f0da /nbd.c
parentb90fb4b8f5cd01dfcf0e3b45c93977a2e3bdcc71 (diff)
downloadqemu-bbb74edd405bee8cf29957ef781294f40f02d4c6.tar.gz
qemu-bbb74edd405bee8cf29957ef781294f40f02d4c6.tar.bz2
qemu-bbb74edd405bee8cf29957ef781294f40f02d4c6.zip
nbd: sync API definitions with upstream
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'nbd.c')
-rw-r--r--nbd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nbd.c b/nbd.c
index 47ecb2234b..d32a19e5e3 100644
--- a/nbd.c
+++ b/nbd.c
@@ -67,6 +67,8 @@
#define NBD_PRINT_DEBUG _IO(0xab, 6)
#define NBD_SET_SIZE_BLOCKS _IO(0xab, 7)
#define NBD_DISCONNECT _IO(0xab, 8)
+#define NBD_SET_TIMEOUT _IO(0xab, 9)
+#define NBD_SET_FLAGS _IO(0xab, 10)
#define NBD_OPT_EXPORT_NAME (1 << 0)