diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2013-06-24 17:13:16 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2013-06-28 09:20:26 +0200 |
| commit | f9ea81e82519f44071b3dd617de98f0d6d6cca0a (patch) | |
| tree | 74622513f4b5d50f879dd220dcca93d01b775eb9 /hw/display/omap_dss.c | |
| parent | ba5d6ab68f7bc55520cddd5e00bd48b041c7aecd (diff) | |
| download | focaccia-qemu-f9ea81e82519f44071b3dd617de98f0d6d6cca0a.tar.gz focaccia-qemu-f9ea81e82519f44071b3dd617de98f0d6d6cca0a.zip | |
blockdev: allow BdrvActionOps->commit() to be NULL
Some QMP 'transaction' types don't need to do anything on .commit(). Make .commit() optional just like .abort(). The "drive-backup" action will take advantage of this, it only needs to cancel the block job on .abort(). Other block job actions will probably follow the same pattern, so allow .commit() to be NULL. Suggested-by: Eric Blake <eblake@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/display/omap_dss.c')
0 files changed, 0 insertions, 0 deletions