Fam Zheng
3c76c606da
block: Make 'replication_state' an enum
...
BDRVReplicationState.replication_state is a name with a bit of
duplication, plus it could be an enum like BDRVReplicationState.mode,
which is more readable and also more straightforward in a debugger.
Rename it, and improve the type while at it.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2017-05-07 09:57:51 +03:00
..
2016-01-20 13:36:23 +01:00
2017-03-13 12:49:33 +01:00
2017-04-28 16:02:03 +02:00
2017-04-27 16:12:13 +02:00
2017-04-27 16:12:13 +02:00
2017-04-28 16:02:02 +02:00
2017-04-24 15:09:33 -04:00
2017-04-24 15:09:33 -04:00
2017-04-28 16:02:02 +02:00
2017-04-28 16:02:03 +02:00
2017-03-31 15:53:22 -04:00
2016-10-24 17:56:07 +02:00
2016-10-07 14:14:06 +02:00
2017-04-24 15:09:33 -04:00
2016-10-07 14:14:06 +02:00
2017-04-28 16:02:03 +02:00
2017-04-28 16:02:03 +02:00
2017-04-28 16:02:03 +02:00
2017-04-27 16:24:01 +02:00
2017-01-27 18:07:58 +01:00
2017-04-28 16:02:03 +02:00
2017-02-21 11:39:39 +00:00
2017-04-24 15:08:42 -04:00
2017-04-28 16:02:02 +02:00
2017-03-27 16:50:36 +02:00
2017-03-27 14:41:01 +02:00
2017-04-04 11:40:55 +01:00
2017-04-28 16:02:03 +02:00
2017-02-21 11:39:39 +00:00
2017-04-28 16:02:02 +02:00
2017-02-22 19:52:20 +01:00
2016-11-25 13:51:30 +01:00
2017-04-03 17:11:40 +02:00
2017-04-28 16:02:02 +02:00
2016-07-05 16:46:27 +02:00
2017-04-28 16:02:03 +02:00
2017-02-12 00:47:43 +01:00
2017-04-28 16:02:02 +02:00
2016-06-07 18:19:24 +03:00
2017-02-21 11:39:39 +00:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2017-02-21 11:39:39 +00:00
2017-04-28 16:02:03 +02:00
2017-02-21 11:14:08 +00:00
2017-02-28 20:40:36 +01:00
2017-04-28 16:02:03 +02:00
2017-04-28 16:02:03 +02:00
2017-05-07 09:57:51 +03:00
2017-04-28 16:02:03 +02:00
2017-04-11 15:33:00 +02:00
2017-04-24 09:12:59 +02:00
2017-02-28 20:47:51 +01:00
2017-02-21 11:39:40 +00:00
2017-04-24 15:08:42 -04:00
2017-04-28 16:02:02 +02:00
2016-09-23 11:42:52 +08:00
2017-04-28 16:02:02 +02:00
2017-04-28 16:02:02 +02:00
2014-12-12 15:42:22 +00:00
2017-04-28 16:02:02 +02:00
2017-04-28 16:02:02 +02:00
2017-04-24 15:09:33 -04:00
2017-04-24 15:08:42 -04:00
2017-02-21 11:39:39 +00:00
2016-10-07 13:34:07 +02:00