Kevin Wolf f6166a06ff block/qdev: Allow configuring WCE with qdev properties
As cache.writeback is a BlockBackend property and as such more related
to the guest device than the BlockDriverState, we already removed it
from the blockdev-add interface. This patch adds the new way to set it,
as a qdev property of the corresponding guest device.

For example: -drive if=none,file=test.img,node-name=img
             -device ide-hd,drive=img,write-cache=off

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
2016-07-13 13:32:27 +02:00
..
2016-06-17 16:33:48 +10:00
2016-06-14 15:59:13 +01:00
2016-05-18 15:04:27 +03:00
2016-06-07 18:02:48 +03:00
2016-06-29 14:03:48 +02:00
2016-06-24 05:13:57 +03:00
2016-07-06 10:52:03 +02:00
2016-01-29 15:07:25 +00:00
2016-06-24 05:13:57 +03:00
2016-07-04 13:15:22 +01:00
2016-07-12 12:34:41 +01:00
2015-12-22 18:39:19 +02:00