Fiona Ebner and Kostiantyn Kostiuk
c38e65a881
scripts/qemu-guest-agent/fsfreeze-hook: improve script description
...
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 >
Reviewed-by: Kostiantyn Kostiuk <kkostiuk@redhat.com >
Link: https://lore.kernel.org/qemu-devel/20250916122111.36019-1-f.ebner@proxmox.com
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com >
2025-10-30 14:51:44 +02:00
Dehan Meng and Konstantin Kostiuk
85978dfb6b
qemu-ga: Optimize freeze-hook script logic of logging error
...
Make sure the error log of fsfreeze hooks
when freeze/thaw/snapshot could be logged
to system logs if the default logfile of
qga can't be written or other situations
Signed-off-by: Dehan Meng <demeng@redhat.com >
Reviewed-by: Yan Vugenfirer <yvugenfi@redhat.com >
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com >
Message-ID: <20241225083744.277374-1-demeng@redhat.com >
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com >
2025-01-06 12:57:13 +02:00
Christian Ehrhardt and Paolo Bonzini
7294e600eb
qemu-guest-agent: freeze-hook to ignore dpkg files as well
...
The hook already skips a set of rpm upgrade artifacts.
Do the same with such files that might be created by dpkg.
Fixes: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1484990
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com >
Message-Id: <1513160272-15921-1-git-send-email-christian.ehrhardt@canonical.com >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2018-08-23 18:46:25 +02:00
Tomoki Sekiyama and Michael Roth
96610da210
qemu-ga: sample fsfreeze hooks
...
Adds sample hook scripts for --fsfreeze-hook option of qemu-ga.
- fsfreeze-hook : execute scripts in fsfreeze-hook.d/
- fsfreeze-hook.d/mysql-flush.sh.sample : quiesce MySQL before snapshot
Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com >
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com >
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com >
2013-01-08 16:38:12 -06:00