mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-26 22:25:12 -07:00
qemu-img snapshot: Use writeback caching
None of the other qemu-img subcommands uses writethrough, and there's no reason why snapshot should be special. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
653df36bbe
commit
710da702be
1 changed files with 1 additions and 1 deletions
|
|
@ -1068,7 +1068,7 @@ static int img_snapshot(int argc, char **argv)
|
|||
int action = 0;
|
||||
qemu_timeval tv;
|
||||
|
||||
bdrv_oflags = BDRV_O_RDWR;
|
||||
bdrv_oflags = BDRV_O_FLAGS | BDRV_O_RDWR;
|
||||
/* Parse commandline parameters */
|
||||
for(;;) {
|
||||
c = getopt(argc, argv, "la:c:d:h");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue