[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Monitor qemu process termination ...

From: Jakob Bohm
Subject: Re: [Qemu-discuss] Monitor qemu process termination ...
Date: Thu, 09 Apr 2015 14:23:03 +0200
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 09/04/2015 12:17, cluster lab wrote:

I want to recognize qemu process termination,
After some test and try, developed this scenario:
"Receiving of  EOF from opened monitoring channel (return of zero from
read) would mean qemu process termination. "

(monitor means JSON monitor channel),
Is it a correct way?

Best regards.

You could also look at the actual OS level termination
of the process id of the relevant qemu process.

Unfortunately, POSIX is less helpful in waiting for
processes you did not start yourself than some non-POSIX
systems.  But maybe you are lucky and can get this from
some channel to the process that actually started qemu,
e.g. libvirt-bin or your own shell scripts.


Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded

reply via email to

[Prev in Thread] Current Thread [Next in Thread]