diff options
author | Eric Blake <eblake@redhat.com> | 2016-05-07 21:16:41 -0600 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2016-05-12 15:33:24 +0200 |
commit | b8d970f1a966b3c46233462879d4d5ab0bdd1712 (patch) | |
tree | 113933665bd670db920a526280c51f39afb312c2 /translate-all.c | |
parent | e4e12bb26d9f2e2de02ff888063f41cc1e1b3935 (diff) |
qemu-io: Make 'open' subcommand more like command line
The command line defaults to BDRV_O_UNMAP, but can use
-d to reset it. Meanwhile, the 'open' subcommand was
defaulting to no discards, with no way to set it.
The command line has both -n and -tMODE to set a variety
of cache modes, but the 'open' subcommand had only -n.
The 'open' subcommand had no way to set BDRV_O_NATIVE_AIO.
Note that the 'reopen' subcommand uses '-c' where the
command line and 'open' use -t. Making that consistent
would be a separate patch.
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-id: 1462677405-4752-3-git-send-email-eblake@redhat.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'translate-all.c')
0 files changed, 0 insertions, 0 deletions