qemu/qga
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
..
channel-posix.c qemu-ga: move channel/transport functionality into wrapper class 2012-02-23 15:40:16 -06:00
channel-win32.c qemu-ga: for w32, fix leaked handle ov.hEvent in ga_channel_write() 2012-03-19 11:31:04 +00:00
channel.h qemu-ga: move channel/transport functionality into wrapper class 2012-02-23 15:40:16 -06:00
commands-posix.c qemu-ga: add a whitelist for fsfreeze-safe commands 2012-04-30 08:42:10 -05:00
commands-win32.c qemu-ga: add guest-network-get-interfaces command 2012-03-12 15:09:18 -05:00
commands.c qemu-ga: add guest-sync-delimited 2012-03-12 15:09:23 -05:00
guest-agent-command-state.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
guest-agent-core.h qemu-ga: add a whitelist for fsfreeze-safe commands 2012-04-30 08:42:10 -05:00
service-win32.c qemu-ga: add Windows service integration 2012-02-23 15:43:50 -06:00
service-win32.h qemu-ga: add Windows service integration 2012-02-23 15:43:50 -06:00