qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason


From: Jan Kiszka
Subject: Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason
Date: Fri, 03 Jun 2011 15:41:14 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

On 2011-06-03 15:26, Anthony Liguori wrote:
> I think what we're getting at is the need for an enumeration.  So let's
> introduce one.  Here's what I propose:
> 
> SQMP
> query-status
> ------------
> 
> Return a json-object with the following information:
> 
> - "running": true if the VM is running, or false if it is paused
> (json-bool)
> - "singlestep": true if the VM is in single step mode,
>                 false otherwise (json-bool)
> - "status": one of the following values (json-string) (optional)
>       "prelaunch" - QEMU was started with -S and guest has not started
>       "running" - guest is actively running
>       "singlestep" - guest is running in single step mode

"singlestep" is just a subset of "debug" stops. Better use the latter.

>       "paused" - guest has been paused via the 'stop' command
>       "postmigrate" - guest is paused following a successful 'migrate'
>       "shutdown" - guest is shut down (and -no-shutdown is in use)
>       "io-error" - the last IOP has failed and the device is configured
> to pause on I/O errors
>       "watchdog-error" - the watchdog action is configured to pause and
> has been triggered

And "panic" or "internal-error".

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux



reply via email to

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