qemu-patch-raspberry4/qapi
John Snow 9abe3bdc45 qapi: add dirty bitmap status
Bitmaps can be in a handful of different states with potentially
more to come as we tool around with migration and persistence patches.

Management applications may need to know why certain bitmaps are
unavailable for various commands, e.g. busy in another operation,
busy being migrated, etc.

Right now, all we offer is BlockDirtyInfo's boolean member 'frozen'.
Instead of adding more booleans, replace it by an enumeration member
'status' with values 'active' and 'frozen'.  Then add new value
'disabled'.

Incompatible change.  Fine because the changed part hasn't been
released so far.

Suggested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[Commit message tweaked]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-05-29 12:53:12 +02:00
..
block-core.json qapi: add dirty bitmap status 2015-05-29 12:53:12 +02:00
block.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
common.json qapi: Drop inline nested struct in query-version 2015-05-05 18:39:02 +02:00
event.json qmp-event: add event notification for memory hot unplug error 2015-04-27 21:09:07 +02:00
Makefile.objs
opts-visitor.c
qapi-dealloc-visitor.c qapi: dealloc visitor, implement visit_start_union 2014-09-26 13:14:10 -04:00
qapi-util.c
qapi-visit-core.c qapi: add visit_start_union and visit_end_union 2014-09-26 13:14:10 -04:00
qmp-dispatch.c qmp: Eliminate silly QERR_COMMAND_NOT_FOUND macro 2015-01-29 10:02:18 +01:00
qmp-event.c
qmp-input-visitor.c
qmp-output-visitor.c
qmp-registry.c
string-input-visitor.c
string-output-visitor.c
trace.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00