aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-08-09 14:44:25 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2011-09-15 16:39:32 -0300
commit6e0ca8820dddd04056c43327f3b3699f572d03d4 (patch)
tree64018477e73c610089fafd118b43a626d2f4565c /target-i386
parent9e37b9dc5bf037453e062ee515014875cd05068d (diff)
downloadqemu-6e0ca8820dddd04056c43327f3b3699f572d03d4.zip
qemu-6e0ca8820dddd04056c43327f3b3699f572d03d4.tar.gz
qemu-6e0ca8820dddd04056c43327f3b3699f572d03d4.tar.bz2
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 'target-i386')
0 files changed, 0 insertions, 0 deletions