Revision 9e37b9dc qmp-commands.hx
b/qmp-commands.hx | ||
---|---|---|
1573 | 1573 |
- "running": true if the VM is running, or false if it is paused (json-bool) |
1574 | 1574 |
- "singlestep": true if the VM is in single step mode, |
1575 | 1575 |
false otherwise (json-bool) |
1576 |
- "status": one of the following values (json-string) |
|
1577 |
"debug" - QEMU is running on a debugger |
|
1578 |
"inmigrate" - guest is paused waiting for an incoming migration |
|
1579 |
"internal-error" - An internal error that prevents further guest |
|
1580 |
execution has occurred |
|
1581 |
"io-error" - the last IOP has failed and the device is configured |
|
1582 |
to pause on I/O errors |
|
1583 |
"paused" - guest has been paused via the 'stop' command |
|
1584 |
"postmigrate" - guest is paused following a successful 'migrate' |
|
1585 |
"prelaunch" - QEMU was started with -S and guest has not started |
|
1586 |
"finish-migrate" - guest is paused to finish the migration process |
|
1587 |
"restore-vm" - guest is paused to restore VM state |
|
1588 |
"running" - guest is actively running |
|
1589 |
"save-vm" - guest is paused to save the VM state |
|
1590 |
"shutdown" - guest is shut down (and -no-shutdown is in use) |
|
1591 |
"watchdog" - the watchdog action is configured to pause and |
|
1592 |
has been triggered |
|
1576 | 1593 |
|
1577 | 1594 |
Example: |
1578 | 1595 |
|
1579 | 1596 |
-> { "execute": "query-status" } |
1580 |
<- { "return": { "running": true, "singlestep": false } } |
|
1597 |
<- { "return": { "running": true, "singlestep": false, "status": "running" } }
|
|
1581 | 1598 |
|
1582 | 1599 |
EQMP |
1583 | 1600 |
|
Also available in: Unified diff