projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
653df36
)
qemu-img snapshot: Use writeback caching
author
Kevin Wolf
<kwolf@redhat.com>
Mon, 10 Jan 2011 11:33:02 +0000
(12:33 +0100)
committer
Kevin Wolf
<kwolf@redhat.com>
Mon, 24 Jan 2011 10:08:50 +0000
(11:08 +0100)
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>
qemu-img.c
patch
|
blob
|
history
diff --git
a/qemu-img.c
b/qemu-img.c
index afd9ed2e0ece60c22dbf025c4702365c9635687a..1e65ea82d61406b5a2bd82778343400fd1df96ec 100644
(file)
--- a/
qemu-img.c
+++ b/
qemu-img.c
@@
-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");