qemu-patch-raspberry4/qga
Tomoki Sekiyama ec0f694c11 qemu-ga: execute hook to quiesce the guest on fsfreeze-freeze/thaw
To use the online disk snapshot for online-backup, application-level
consistency of the snapshot image is required. However, currently the
guest agent can provide only filesystem-level consistency, and the
snapshot may contain dirty data, for example, incomplete transactions.
This patch provides the opportunity to quiesce applications before
snapshot is taken.

If --fsfreeze-hook option is specified, the hook is executed with
"freeze" argument before the filesystem is frozen by fsfreeze-freeze
command. As for fsfreeze-thaw command, the hook is executed with "thaw"
argument after the filesystem is thawed.

This patch depends on patchset to improve error reporting by Luiz Capitulino:
  http://lists.gnu.org/archive/html/qemu-devel/2012-11/msg03016.html

Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>

*clarified usage in help output

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2013-01-08 16:38:12 -06:00
..
channel-posix.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01: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: execute hook to quiesce the guest on fsfreeze-freeze/thaw 2013-01-08 16:38:12 -06:00
commands-win32.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
commands.c qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01: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: execute hook to quiesce the guest on fsfreeze-freeze/thaw 2013-01-08 16:38:12 -06:00
main.c qemu-ga: execute hook to quiesce the guest on fsfreeze-freeze/thaw 2013-01-08 16:38:12 -06:00
Makefile.objs qemu-ga: move qemu-ga files to qga/ 2012-12-19 08:31:30 +01:00
qapi-schema.json qemu-ga: move qemu-ga files to qga/ 2012-12-19 08:31:30 +01: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