summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorWenchao Xia <xiawenc@linux.vnet.ibm.com>2013-05-08 18:25:12 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2013-05-24 16:17:55 +0200
commit9b9877ee9f1c27588a286f591852c0b7c0548b6a (patch)
treea2128acf2c7ca89e4b73413aa21ed70d9f5addf2 /scripts/qapi-types.py
parent64afc2b4d48fb21e085517c38a59a3f61a11283c (diff)
downloadfocaccia-qemu-9b9877ee9f1c27588a286f591852c0b7c0548b6a.tar.gz
focaccia-qemu-9b9877ee9f1c27588a286f591852c0b7c0548b6a.zip
block: package preparation code in qmp_transaction()
The code before really committing is moved into a function. Most
code is simply moved from qmp_transaction(), except that on fail it
just returns now. Other code such as input parsing is not touched,
to make it easier in review.

Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@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