Skip to content

qemu-ga: add hook to quiesce the guest on fsfreeze-freeze/thaw

Tomoki Sekiyama qemu-devel 8 versions – Applied

Status from this message: Thanks, applied to qga branch with some minor clarifications for the

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest0 of 2 patches 4 repliesApplied
  2. v70 of 2 patches 13 repliesSuperseded
  3. v60 of 2 patches 8 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v50 of 3 patches6 repliesSuperseded
v40 of 2 patches9 repliesSuperseded
v30 of 2 patches5 repliesSuperseded
v20 of 2 patches4 repliesSuperseded
v11 of 2 patches1 replySuperseded

Patches in v8 Applied

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchLuiz Capitulino
SeriesR-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [Qemu-devel] [PATCH v8 0/2] qemu-ga: add hook to quiesce the guest on fsfreeze-freeze/thaw

Hi,

This is version 8 of the qemu-ga fsfreeze hook patchset.

*Changes from v7: ( http://patchwork.ozlabs.org/patch/204426/ )
1/2: Not changed.
2/2: Moved .gitignore exception for fsfreeze-hook.d right below "*.d".
Make fsfreeze success even if fsfreeze-hook.d doesn't exist. Use printf(1) instead of echo to output logs.
Use "$MYSQL" $MYSQL_OPTS instead of $MYSQL_CMD for safety. Improve signal handling in flush-mysql.sh.
Fix misspelling.

This patchset depends on Luiz Capitulino's patchset to improve error handling, which is available at:
https://lists.gnu.org/archive/html/qemu-devel/2012-11/msg03016.html
---
Tomoki Sekiyama (2):
qemu-ga: execute hook to quiesce the guest on fsfreeze-freeze/thaw
qemu-ga: sample fsfreeze hooks

 .gitignore                                         |    1 
 Makefile                                           |    2 -
 qemu-ga.c                                          |   42 ++++++++++++
 qga/commands-posix.c                               |   69 ++++++++++++++++++++
 qga/guest-agent-core.h                             |    1 
 scripts/qemu-guest-agent/fsfreeze-hook             |   33 ++++++++++
 .../fsfreeze-hook.d/mysql-flush.sh.sample          |   56 ++++++++++++++++
 7 files changed, 202 insertions(+), 2 deletions(-)
 create mode 100755 scripts/qemu-guest-agent/fsfreeze-hook
 create mode 100755 scripts/qemu-guest-agent/fsfreeze-hook.d/mysql-flush.sh.sample

Thanks,

Signature · 3 lines
Tomoki Sekiyama <[email protected]>
Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory