commit | 734c3b85cb72d264ad2b38a87f30304e05de2cb1 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Jun 05 14:19:30 2013 +0200 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Thu Jun 06 11:27:04 2013 +0200 |
tree | aad868657469551e947b5279a2d88bca03ddff9f | |
parent | cf49a6a00c19cabf4006d4f82bef26345043e7b5 [diff] |
qemu-io: Don't use global bs in command implementations Pass in the BlockDriverState to the command handlers instead of using the global variable. This is an important step to make the commands usable outside of qemu-io. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>