« Previous | Next » 

Revision f22d85e9

IDf22d85e9e67262db34504f4079745f9843da6a92

Added by Michael Roth almost 12 years ago

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences