qemu/qapi
Michael Roth f22d85e9e6 qemu-ga: add a whitelist for fsfreeze-safe commands
Currently we rely on fsfreeze/thaw commands disabling/enabling logging
then having other commands check whether logging is disabled to avoid
executing if they aren't safe for running while a filesystem is frozen.

Instead, have an explicit whitelist of fsfreeze-safe commands, and
consolidate logging and command enablement/disablement into a pair
of helper functions: ga_set_frozen()/ga_unset_frozen()

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2012-04-30 08:42:10 -05:00
..
qapi-dealloc-visitor.c
qapi-dealloc-visitor.h
qapi-types-core.h
qapi-visit-core.c
qapi-visit-core.h
qapi-visit-impl.h
qmp-core.h qemu-ga: add a whitelist for fsfreeze-safe commands 2012-04-30 08:42:10 -05:00
qmp-dispatch.c
qmp-input-visitor.c
qmp-input-visitor.h
qmp-output-visitor.c
qmp-output-visitor.h
qmp-registry.c qemu-ga: add a whitelist for fsfreeze-safe commands 2012-04-30 08:42:10 -05:00
string-input-visitor.c
string-input-visitor.h
string-output-visitor.c
string-output-visitor.h