summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorFam Zheng2017-03-17 03:17:39 +0100
committerMichael Tokarev2017-05-07 08:57:51 +0200
commit3c76c606dab4d2298a9877628fe28bf9e6d99e22 (patch)
treebee66eb917e71b414903742e24ecb3871deaeb20 /scripts/switch-timer-api
parentutil: Use g_malloc/g_free in envlist.c (diff)
downloadqemu-3c76c606dab4d2298a9877628fe28bf9e6d99e22.tar.gz
qemu-3c76c606dab4d2298a9877628fe28bf9e6d99e22.tar.xz
qemu-3c76c606dab4d2298a9877628fe28bf9e6d99e22.zip
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>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions