[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 17/17] hmp: better format for info migrate_capabilit
From: |
Lei Li |
Subject: |
[Qemu-devel] [PATCH 17/17] hmp: better format for info migrate_capabilities |
Date: |
Thu, 21 Nov 2013 17:11:40 +0800 |
As there might be more capabilities introduced, better to display
it in lines.
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Lei Li <address@hidden>
---
hmp.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/hmp.c b/hmp.c
index 32ee285..dcfa2f9 100644
--- a/hmp.c
+++ b/hmp.c
@@ -226,13 +226,12 @@ void hmp_info_migrate_capabilities(Monitor *mon, const
QDict *qdict)
caps = qmp_query_migrate_capabilities(NULL);
if (caps) {
- monitor_printf(mon, "capabilities: ");
+ monitor_printf(mon, "Capabilities:\n");
for (cap = caps; cap; cap = cap->next) {
- monitor_printf(mon, "%s: %s ",
+ monitor_printf(mon, "%s: %s\n",
MigrationCapability_lookup[cap->value->capability],
cap->value->state ? "on" : "off");
}
- monitor_printf(mon, "\n");
}
qapi_free_MigrationCapabilityStatusList(caps);
--
1.7.7.6
- Re: [Qemu-devel] [PATCH 14/17] add new RanState RAN_STATE_MEMORY_STALE, (continued)
- [Qemu-devel] [PATCH 13/17] migration-unix: replace qemu_fopen_socket with qemu_fopen_socket_local, Lei Li, 2013/11/21
- [Qemu-devel] [PATCH 15/17] migration-unix: page flipping support on unix outgoing, Lei Li, 2013/11/21
- [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping, Lei Li, 2013/11/21
- Re: [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping, Paolo Bonzini, 2013/11/26
- Re: [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping, Lei Li, 2013/11/26
- Re: [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping, Paolo Bonzini, 2013/11/26
- Re: [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping, Lei Li, 2013/11/26
- Re: [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping, Paolo Bonzini, 2013/11/26
- Re: [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping, Lei Li, 2013/11/28
[Qemu-devel] [PATCH 17/17] hmp: better format for info migrate_capabilities,
Lei Li <=
Re: [Qemu-devel] [PATCH 0/17 v3] Localhost migration with side channel for ram, Daniel P. Berrange, 2013/11/21
- Re: [Qemu-devel] [PATCH 0/17 v3] Localhost migration with side channel for ram, Lei Li, 2013/11/22
- Re: [Qemu-devel] [PATCH 0/17 v3] Localhost migration with side channel for ram, Paolo Bonzini, 2013/11/22
- Re: [Qemu-devel] [PATCH 0/17 v3] Localhost migration with side channel for ram, Lei Li, 2013/11/25
- Re: [Qemu-devel] [PATCH 0/17 v3] Localhost migration with side channel for ram, Paolo Bonzini, 2013/11/25
- Re: [Qemu-devel] [PATCH 0/17 v3] Localhost migration with side channel for ram, Lei Li, 2013/11/26
- Re: [Qemu-devel] [PATCH 0/17 v3] Localhost migration with side channel for ram, Paolo Bonzini, 2013/11/26
- Re: [Qemu-devel] [PATCH 0/17 v3] Localhost migration with side channel for ram, Andrea Arcangeli, 2013/11/27
Re: [Qemu-devel] [PATCH 0/17 v3] Localhost migration with side channel for ram, Daniel P. Berrange, 2013/11/22