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
..
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
2017-04-24 15:09:33 -04: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-04-28 16:02:03 +02: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-04-28 16:02:02 +02:00
2017-04-03 17:11:40 +02:00
2017-04-28 16:02:02 +02:00
2017-04-28 16:02:03 +02:00
2017-04-28 16:02:02 +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-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-04-24 15:08:42 -04:00
2017-04-28 16:02:02 +02:00
2017-04-28 16:02:02 +02:00
2017-04-28 16:02:02 +02: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