On 7/19/24 3:29 PM, Daniel P. Berrangé wrote:
+static int
+qemuProcessInShutdownStartMonitor(virDomainObj *vm)
+{
+qemuDomainObjPrivate *priv = vm->privateData;
+qemuProcessInShutdownEventData *data;
+int pidfd;
+int ret = -1;
+
+VIR_DEBUG("vm=%p name=%s pid=%lld pidMonitored=
On Fri, Jul 19, 2024 at 02:58:23PM +0200, Boris Fiuczynski wrote:
> In cases when a QEMU process takes longer than the time sigterm and
> sigkill are issued to kill the process do not simply fail and leave the
> VM in state VIR_DOMAIN_SHUTDOWN until the daemon stops. Instead set up
> an fd on /proc
In cases when a QEMU process takes longer than the time sigterm and
sigkill are issued to kill the process do not simply fail and leave the
VM in state VIR_DOMAIN_SHUTDOWN until the daemon stops. Instead set up
an fd on /proc/$pid and get notified when the QEMU process finally has
terminated to cle