]> Git Repo - qemu.git/commit - hmp.c
migration: Convert 'status' of MigrationInfo to use an enum type
authorzhanghailiang <[email protected]>
Fri, 13 Mar 2015 08:08:40 +0000 (16:08 +0800)
committerJuan Quintela <[email protected]>
Tue, 17 Mar 2015 14:20:37 +0000 (15:20 +0100)
commit24b8c39b5c34b05f1ac870c421e2e61574abbdf9
tree80891c0d0feae3ed25d4acbdc7d8bc04ef32171d
parente49f35bdb4974d6cfd7e5eb5cb9f8c50eef3f3a9
migration: Convert 'status' of MigrationInfo to use an enum type

The original 'status' is an open-coded 'str' type, convert it to use an
enum type.
This conversion is backwards compatible, better documented and
more convenient for future extensibility.

In addition, Fix a typo for qapi-schema.json (just remove the typo) :
s/'completed'. 'comppleted' (since 1.2)/'completed' (since 1.2)

Signed-off-by: zhanghailiang <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
hmp.c
migration/migration.c
qapi-schema.json
This page took 0.024247 seconds and 4 git commands to generate.