]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
block: make 'top' argument to block-commit optional
authorJeff Cody <jcody@redhat.com>
Mon, 30 Jun 2014 13:14:15 +0000 (15:14 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 7 Aug 2014 08:58:45 +0000 (03:58 -0500)
commit98103fa736e535d311604f5cae0468019908b55e
tree20cdfd2c212847f6693643a0f51fa7ed18060566
parente5f0eb06a897ee73df22a1eaffdf0a86002559af
block: make 'top' argument to block-commit optional

Now that active layer block-commit is supported, the 'top' argument
no longer needs to be mandatory.

Change it to optional, with the default being the active layer in the
device chain.

[kwolf: Rebased and resolved conflict in tests/qemu-iotests/040]

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit 7676e2c597000eff3a7233b40cca768b358f9bc9)

Conflicts:
qapi/block-core.json

*removed dependency on 1ad166b6

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
blockdev.c
qapi-schema.json
qmp-commands.hx
tests/qemu-iotests/040