projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a3567d
)
block: Dont ignore previously set bdrv_flags
author
M. Mohan Kumar
<mohan@in.ibm.com>
Wed, 14 Aug 2013 12:26:41 +0000
(17:56 +0530)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Wed, 14 Aug 2013 13:34:00 +0000
(08:34 -0500)
bdrv_flags is set by bdrv_parse_discard_flags(), but later it is reset
to zero.
Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>
Message-id:
1376483201
-13466-1-git-send-email-mohan@in.ibm.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
blockdev.c
patch
|
blob
|
history
diff --git
a/blockdev.c
b/blockdev.c
index e174b7d02d39ea0f56a63a36a98e8664cf39e645..bc7016a8d4bb50689ff43b4029f8af23eb7ed1c0 100644
(file)
--- a/
blockdev.c
+++ b/
blockdev.c
@@
-454,7
+454,6
@@
static DriveInfo *blockdev_init(QemuOpts *all_opts,
}
}
- bdrv_flags = 0;
if (qemu_opt_get_bool(opts, "cache.writeback", true)) {
bdrv_flags |= BDRV_O_CACHE_WB;
}