Kevin Wolf dabd18f64c hw/block: Introduce share-rw qdev property
By default, don't allow another writer for block devices that are
attached to a guest device. For the cases where this setup is intended
(e.g. using a cluster filesystem on the disk), the new option can be
used to allow it.

This change affects only devices using DEFINE_BLOCK_PROPERTIES().
Devices directly using DEFINE_PROP_DRIVE() still accept writers
unconditionally.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
2017-02-28 20:40:36 +01:00
..
2017-02-28 09:03:39 +03:00
2017-01-27 18:08:00 +01:00
2017-02-28 20:40:36 +01:00
2017-02-28 16:22:41 +00:00
2017-01-31 10:10:13 +11:00
2017-02-28 20:40:36 +01:00
2017-02-02 16:08:28 +00:00
2017-02-06 12:33:21 +11:00
2017-02-24 10:37:21 +00:00
2017-02-28 20:40:36 +01:00
2017-02-02 18:48:06 +00:00
2017-02-24 10:13:57 +00:00
2017-02-28 20:40:36 +01:00
2017-02-28 20:40:36 +01:00
2017-02-28 12:08:16 +00:00
2017-02-28 20:40:36 +01:00
2017-02-03 12:31:40 +00:00