Files
xemu/block
Kevin Wolf 0c3169dffa block: Default to enabled write cache in blk_new()
The existing users of the function are:

1. blk_new_open(), which already enabled the write cache
2. Some test cases that don't care about the setting
3. blockdev_init() for empty drives, where the cache mode is overridden
   with the value from the options when a medium is inserted

Therefore, this patch doesn't change the current behaviour. It will be
convenient, however, for additional users of blk_new() (like block
jobs) if the most sensible WCE setting is the default.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
2016-05-25 19:04:21 +02:00
..
2016-01-20 13:36:23 +01:00
2016-05-19 16:45:31 +02:00
2016-05-19 16:45:31 +02:00
2016-05-23 16:53:46 +02:00
2016-05-12 15:22:07 +02:00
2016-05-19 16:45:31 +02:00
2016-05-12 15:22:09 +02:00
2016-05-12 15:22:09 +02:00
2016-05-12 15:22:09 +02:00
2016-05-25 19:04:21 +02:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-05-12 15:22:07 +02:00
2016-05-25 19:04:10 +02:00
2016-05-19 16:45:31 +02:00
2016-05-25 19:04:10 +02:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00