From b35ee7fb2308e09092488029b5a9e456ce61bbe6 Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Tue, 14 Jan 2014 13:44:35 +0100 Subject: 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 --- qapi-schema.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qapi-schema.json') 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'] } } -- cgit v1.2.3-55-g7522