From: Kostiantyn Kostiuk <kkostiuk@redhat.com>
To: Fiona Ebner <f.ebner@proxmox.com>
Cc: qemu-devel@nongnu.org, michael.roth@amd.com
Subject: Re: [PATCH] scripts/qemu-guest-agent/fsfreeze-hook: improve script description
Date: Wed, 24 Sep 2025 11:10:43 +0300 [thread overview]
Message-ID: <CAPMcbCr+f-aCvwZKo5Ds+fWFtAWSUDw3jqXHqi2Fd0eC8OFkEQ@mail.gmail.com> (raw)
In-Reply-To: <20250916122111.36019-1-f.ebner@proxmox.com>
[-- Attachment #1: Type: text/plain, Size: 2039 bytes --]
Reviewed-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>
Best Regards,
Kostiantyn Kostiuk.
On Tue, Sep 16, 2025 at 3:22 PM Fiona Ebner <f.ebner@proxmox.com> wrote:
> With the current wording, users might think that the -F option is not
> required as long as the script is placed in the default path. Be clear
> that the option is always required. Also includes some minor language
> improvements in the rest of the comment.
>
> Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
> ---
> scripts/qemu-guest-agent/fsfreeze-hook | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
>
> diff --git a/scripts/qemu-guest-agent/fsfreeze-hook
> b/scripts/qemu-guest-agent/fsfreeze-hook
> index c1feb6f5ce..5b915af017 100755
> --- a/scripts/qemu-guest-agent/fsfreeze-hook
> +++ b/scripts/qemu-guest-agent/fsfreeze-hook
> @@ -1,11 +1,12 @@
> #!/bin/sh
>
> -# This script is executed when a guest agent receives fsfreeze-freeze and
> -# fsfreeze-thaw command, if it is specified in --fsfreeze-hook (-F)
> -# option of qemu-ga or placed in default path (/etc/qemu/fsfreeze-hook).
> -# When the agent receives fsfreeze-freeze request, this script is issued
> with
> -# "freeze" argument before the filesystem is frozen. And for fsfreeze-thaw
> -# request, it is issued with "thaw" argument after filesystem is thawed.
> +# This script is executed when the guest agent receives fsfreeze-freeze
> and
> +# fsfreeze-thaw commands, provided that the --fsfreeze-hook (-F) option of
> +# qemu-ga is specified and the script is placed in
> /etc/qemu/fsfreeze-hook or in
> +# the path specified together with -F. When the agent receives
> fsfreeze-freeze
> +# requests, this script is called with "freeze" as its argument before the
> +# filesystem is frozen. And for fsfreeze-thaw requests, it is called with
> "thaw"
> +# as its argument after the filesystem is thawed.
>
> LOGFILE=/var/log/qga-fsfreeze-hook.log
> FSFREEZE_D=$(dirname -- "$0")/fsfreeze-hook.d
> --
> 2.47.2
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 2734 bytes --]
next prev parent reply other threads:[~2025-09-24 8:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-16 12:19 [PATCH] scripts/qemu-guest-agent/fsfreeze-hook: improve script description Fiona Ebner
2025-09-24 8:10 ` Kostiantyn Kostiuk [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-17 13:16 Fabian Ebner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPMcbCr+f-aCvwZKo5Ds+fWFtAWSUDw3jqXHqi2Fd0eC8OFkEQ@mail.gmail.com \
--to=kkostiuk@redhat.com \
--cc=f.ebner@proxmox.com \
--cc=michael.roth@amd.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).