Jeff Cody fe5241bfe3 block: add bdrv_set_read_only() helper function
We have a helper wrapper for checking for the BDS read_only flag,
add a helper wrapper to set the read_only flag as well.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 9b18972d05f5fa2ac16c014f0af98d680553048d.1491597120.git.jcody@redhat.com
2017-04-24 15:09:33 -04:00
..
2016-01-20 13:36:23 +01:00
2017-03-31 15:53:22 -04:00
2016-10-07 14:14:06 +02:00
2016-10-07 14:14:06 +02:00
2017-04-11 15:33:00 +02:00
2017-04-04 11:40:55 +01:00
2017-04-03 17:11:40 +02:00
2016-11-25 13:51:30 +01:00
2016-06-07 18:19:24 +03:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-09-23 11:42:52 +08:00