Libvirt 允许 hook to fork
如果我有以下 Libvirt 钩子/etc/libvirt/hooks/qemu.d/hook.sh #!/usr/bin/env bash if [[ $1 == "SEARCH_FOR_ME" ]]; then while true; do sleep 1 done fi bash /etc/libvirt/hooks/qemu.d/hook.sh SEARCH_FOR_ME & disown $! touch /tmp/test123 exit 0 现在,当我启动任何虚拟机时,这个钩子就会被调用,我期望...