aboutsummaryrefslogtreecommitdiff
path: root/hmp.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2012-10-29 14:55:51 +0100
committerAurelien Jarno <aurelien@aurel32.net>2012-10-29 14:55:51 +0100
commit3f4331bfd112840e94935b0fd098ee88c07beabc (patch)
tree36fd14200ceb2b73832191ae03311bcf9bd0886c /hmp.c
parent01f590d5a3385c3d79c6afda7acd66edf4bf48d3 (diff)
parent29ed72f15a4c8fd3ac106d874f76cc27b654fd25 (diff)
downloadqemu-3f4331bfd112840e94935b0fd098ee88c07beabc.zip
qemu-3f4331bfd112840e94935b0fd098ee88c07beabc.tar.gz
qemu-3f4331bfd112840e94935b0fd098ee88c07beabc.tar.bz2
Merge branch 'queue/qmp' of git://repo.or.cz/qemu/qmp-unstable
* 'queue/qmp' of git://repo.or.cz/qemu/qmp-unstable: migration: go to paused state after finishing incoming migration with -S qmp: handle stop/cont in INMIGRATE state hmp: fix info cpus for sparc targets
Diffstat (limited to 'hmp.c')
-rw-r--r--hmp.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/hmp.c b/hmp.c
index 2b97982..9df84e3 100644
--- a/hmp.c
+++ b/hmp.c
@@ -245,20 +245,19 @@ void hmp_info_cpus(Monitor *mon)
active = '*';
}
- monitor_printf(mon, "%c CPU #%" PRId64 ": ", active, cpu->value->CPU);
+ monitor_printf(mon, "%c CPU #%" PRId64 ":", active, cpu->value->CPU);
if (cpu->value->has_pc) {
- monitor_printf(mon, "pc=0x%016" PRIx64, cpu->value->pc);
+ monitor_printf(mon, " pc=0x%016" PRIx64, cpu->value->pc);
}
if (cpu->value->has_nip) {
- monitor_printf(mon, "nip=0x%016" PRIx64, cpu->value->nip);
+ monitor_printf(mon, " nip=0x%016" PRIx64, cpu->value->nip);
}
if (cpu->value->has_npc) {
- monitor_printf(mon, "pc=0x%016" PRIx64, cpu->value->pc);
- monitor_printf(mon, "npc=0x%016" PRIx64, cpu->value->npc);
+ monitor_printf(mon, " npc=0x%016" PRIx64, cpu->value->npc);
}
if (cpu->value->has_PC) {
- monitor_printf(mon, "PC=0x%016" PRIx64, cpu->value->PC);
+ monitor_printf(mon, " PC=0x%016" PRIx64, cpu->value->PC);
}
if (cpu->value->halted) {