diff options
| author | Luiz Capitulino | 2011-08-09 19:44:25 +0200 |
|---|---|---|
| committer | Luiz Capitulino | 2011-09-15 21:39:32 +0200 |
| commit | 6e0ca8820dddd04056c43327f3b3699f572d03d4 (patch) | |
| tree | 64018477e73c610089fafd118b43a626d2f4565c /audio | |
| parent | QMP: query-status: Introduce 'status' key (diff) | |
| download | qemu-6e0ca8820dddd04056c43327f3b3699f572d03d4.tar.gz qemu-6e0ca8820dddd04056c43327f3b3699f572d03d4.tar.xz qemu-6e0ca8820dddd04056c43327f3b3699f572d03d4.zip | |
HMP: info status: Print the VM state
Today our printf format for the "info status" command is:
VM status: %s
Where the string can be "running", "running (single step mode)" or
"paused".
This commit extends it to:
VM status: %s (%s)
The second string corresponds to the "status" field as returned
by the query-status QMP command and it's only printed if "status"
is not "running" or "paused".
Example:
VM status: paused (shutdown)
PS: libvirt uses "info status" when using HMP, but the new format
should not break it.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions
