summaryrefslogtreecommitdiffstats
path: root/include/migration/migration.h
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2015-11-18 01:52:55 -0700
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:28:19 -0600
commit355df76ceb030055e6582275b56ea2ad42f66939 (patch)
treea9fcf821eb1d98b2f157fabc2ffd88f347b8d9d9 /include/migration/migration.h
parent3d2650e77c461fcf2ecd29720b4d066b2d507387 (diff)
downloadhqemu-355df76ceb030055e6582275b56ea2ad42f66939.zip
hqemu-355df76ceb030055e6582275b56ea2ad42f66939.tar.gz
blkdebug: Avoid '.' in enum values
Our qapi conventions document that '.' should only be used in the prefix of downstream names. BlkdebugEvent was a lone exception to this. Changing this is not backwards compatible to the 'blockdev-add' QMP command; however, that command is not yet fully stable. It can also be argued that the testsuite is the biggest user of blkdebug, and that any other user can be taught to deal with the change by paying attention to introspection results. Done with: $ for str in \ l1_grow.{alloc,write,activate}_table \ l2_alloc.{cow_read,write} \ refblock_alloc.{hookup,write,write_blocks,write_table,switch_table} \ pwritev_rmw.{head,after_head,tail,after_tail}; do str1=$(echo "$str" | sed 's/\./\\./') str2=$(echo "$str" | sed 's/\./_/') git grep -l "$str1" | xargs -r sed -i "s/$str1/$str2/g" done followed by a manual touchup to test 77 to keep the test working. Reported-by: Markus Armbruster <armbru@redhat.com> CC: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1447836791-369-21-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/migration/migration.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud