aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2014-01-14 13:44:35 +0100
committerKevin Wolf <kwolf@redhat.com>2014-01-24 17:40:03 +0100
commitb35ee7fb2308e09092488029b5a9e456ce61bbe6 (patch)
tree06b2cac578d683ea9d5874169d957d1ee3a4737d /qapi-schema.json
parent2c9880c45e2f9a98d11d44ce9966515c23870a86 (diff)
blkdebug: Make required alignment configurable
The new 'align' option of blkdebug can be used in order to emulate backends with a required 4k alignment on hosts which only really require 512 byte alignment. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 1ff607ac3c..05ced9d572 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -4321,6 +4321,8 @@
#
# @config: #optional filename of the configuration file
#
+# @align: #optional required alignment for requests in bytes
+#
# @inject-error: #optional array of error injection descriptions
#
# @set-state: #optional array of state-change descriptions
@@ -4330,6 +4332,7 @@
{ 'type': 'BlockdevOptionsBlkdebug',
'data': { 'image': 'BlockdevRef',
'*config': 'str',
+ '*align': 'int',
'*inject-error': ['BlkdebugInjectErrorOptions'],
'*set-state': ['BlkdebugSetStateOptions'] } }