qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] qemu-system return value when terminating due to a signal


From: Michael Tokarev
Subject: [Qemu-devel] qemu-system return value when terminating due to a signal
Date: Tue, 10 Mar 2015 07:03:04 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0

When qemu is terminated by a signal, such as SIGINT (Ctrl+C),
it exits with a zero, successful status.  Is it intentional?

Sure, from the qemu perspective, pulling the plug from the
guest machine is a success.  But maybe it's better to indicate
that the exit was due to interrupt, not because of `exit'
command which is a much better version of pulling the plug?

If yes, what exit code should it return?

Thanks,

/mjt



reply via email to

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