summaryrefslogtreecommitdiffstats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorMax Reitz2013-09-12 14:57:27 +0200
committerKevin Wolf2013-09-12 16:28:36 +0200
commitaa3fe714f70654da47d9c2659b2d9ee295a9d930 (patch)
tree1c76f75d3884b81c965fcb01e02d8781370f9551 /scripts/qapi-types.py
parentqemu-iotests: Cleanup test image in test number 007 (diff)
downloadqemu-aa3fe714f70654da47d9c2659b2d9ee295a9d930.tar.gz
qemu-aa3fe714f70654da47d9c2659b2d9ee295a9d930.tar.xz
qemu-aa3fe714f70654da47d9c2659b2d9ee295a9d930.zip
block: Assert validity of BdrvActionOps
In qmp_transaction, assert that the BdrvActionOps to be used is actually valid. This assertion failing is very improbable, however, it might happen, if a new TransactionActionKind is introduced "out of order" and the actions[] array is not updated. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions