qemu-img rebase: Open new backing file read-only
commitcdbae85169c384d1641aa1ae86cdeefe16285745
authorKevin Wolf <kwolf@redhat.com>
Tue, 17 Aug 2010 16:58:55 +0000 (17 18:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 30 Aug 2010 16:29:22 +0000 (30 18:29 +0200)
tree16d9c8d11dfafdd0cfc7f572e46feec63c9b3f60
parent010cb2b314f2fa629b6b0b8f2f73c9d562fff49f
qemu-img rebase: Open new backing file read-only

We never write to a backing file, so opening rw is useless. It just means that
you can't rebase on top of a file for which you don't have write permissions.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-img.c