qemu-io: Add -C for opening with copy-on-read
commit0f40444cc4fc6526a9a544b11475f1086113f9ba
authorEric Blake <eblake@redhat.com>
Thu, 5 Oct 2017 19:02:43 +0000 (5 14:02 -0500)
committerKevin Wolf <kwolf@redhat.com>
Fri, 6 Oct 2017 14:28:58 +0000 (6 16:28 +0200)
tree80d5c13b56e293e1e0027bf0e91a3269dd2f12fd
parentbde70715b67cc5183b00b445b811c1dfc0f74d2e
qemu-io: Add -C for opening with copy-on-read

Make it easier to enable copy-on-read during iotests, by
exposing a new bool option to main and open.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-io.c